IPB

Welcome Guest ( Log In | Register )

> foobar2000 Tech Support Forum Rules

Please read foobar2000 Tech Support Forum Rules before posting and comply with all the points.
Failure to provide all the information pointed out in the above document in your post is considered wasting other people's time and in extreme cases will lead to your topic getting locked without a reply.


See also: Hydrogenaudio Terms of Service.

 
Reply to this topicStart new topic
WAVEFORMATEXTENSIBLE, output wav files
Egor
post Oct 10 2006, 21:35
Post #1





Group: Members
Posts: 826
Joined: 29-September 04
Member No.: 17374



Hello,

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

Is it a bug?
Go to the top of the page
+Quote Post
foosion
post Oct 11 2006, 09:39
Post #2





Group: FB2K Moderator (Donating)
Posts: 4454
Joined: 24-February 03
Member No.: 5153



No, it is a design choice. Several commandline encoders don't support WAV files with this format as far as I know.


--------------------
http://foosion.foobar2000.org/ - my components for foobar2000
Go to the top of the page
+Quote Post
Egor
post Oct 11 2006, 11:09
Post #3





Group: Members
Posts: 826
Joined: 29-September 04
Member No.: 17374



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:
QUOTE
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.
[...]
nChannels

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?
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 25th October 2014 - 06:37