Skip to main content

Topic: WAVEFORMATEXTENSIBLE (Read 7050 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • Egor
  • [*][*][*][*][*]

why doesn't foobar2000 write multichannel WAV files in WAVEFORMATEXTENSIBLE format?

Is it a bug?

  • foosion
  • [*][*][*][*][*]
  • Moderator
Reply #1
No, it is a design choice. Several commandline encoders don't support WAV files with this format as far as I know. - my components for foobar2000

  • Egor
  • [*][*][*][*][*]
Reply #2
Ironically, there are encoders that require multichannel WAV to be in WAVEFORMATEXTENSIBLE, such as Windows Media Encoder and the new FLAC 1.1.3. Additionally, the WAVEFORMATEX officially supports up to only 2 channels:
The WAVEFORMATEX structure defines the format of waveform-audio data. Only format information common to all waveform-audio data formats is included in this structure. For formats that require additional information, this structure is included as the first member in another structure, along with the additional information.

Formats that support more than two channels or sample sizes of more than 16 bits can be described in a WAVEFORMATEXTENSIBLE structure, which includes the WAVEFORMAT structure.

Number of channels in the waveform-audio data. Monaural data uses one channel and stereo data uses two channels.

Wouldn't it be optimal (compatible) to write mono and stereo WAVs in WAVEFORMATEX, and the others in WAVEFORMATEXTENSIBLE?