Skip to main content

Module nwa

Module nwa 

Source
Expand description

NWA audio container support.

Decoder implementation for the NWA container format.

Notes:

  • set_read_sample_pos and read_samples treat one frame as one sample even for stereo (i.e. a frame contains L+R).
  • For compressed NWA (pack_mod != -1), the current implementation supports 16-bit PCM output, matching the original decoder.

Structsยง

NwaHeader
NwaReader
NWA reader with random access by frame index.