RIFF WAVE Format Categories Format Tag Madness...

RIFF WAVE Format Categories Format Tag Madness...

Post by Bil » Thu, 20 Feb 1997 04:00:00

Does anyone know where to get an updated list of Microsoft RIFF WAVE
format categores??

        The document I have now lists 4:

                WAVE_FORMAT_PCM         (0x0001)
                IBM_FORMAT_MULAW                (0x0101)
                IBM_FORMAT_ALAW         (0x0102)
                IBM_FORMAT_ADPCM                (0x0103)

        These are a part of Microsofts Resource Interchange File
Format (RIFF).
        The reason I ask is that I keep seeing strange result contrary
to this specification. For example: Micorsoft PCM format's 'format
tag' is supposed to be 0x0001; however, in all the wave files I have
(even the Microsoft Windows default sounds) this format tag is 0x1000.

        Does anyone know why this is so??

        If not does anyone know where I can find out???

                                Thanx in Advance

                                Thomas James    /


1. Wave format tags

Hi All,
I have one doubt on wave format tags. I have tried the
code below. It is working fine. But I want to try other
types of Wave format tags like WAVE_FORMAT_ALAW or
/* Wave format structure */

WaveFormat.wFormatTag = WAVE_FORMAT_PCM;
WaveFormat.nChannels = 1;
WaveFormat.wBitsPerSample = 8;
WaveFormat.nSamplesPerSec = 8000;
WaveFormat.nBlockAlign = WaveFormat.nChannels *  
                        WaveFormat.wBitsPerSample / 8;
WaveFormat.nAvgBytesPerSec = WaveFormat.nSamplesPerSec
                          * WaveFormat.nBlockAlign;    
WaveFormat.cbSize = 0;

I tried to open the sound card using WaveInOpen() function
with the

WaveFormat.wFormatTag = WAVE_FORMAT_ALAW;

it's failing to open can U please help me.

Can any one, please help me in this regard.

Thanks in advance.


2. Network redirector timeouts on RAS isdn connection Event ID: 3013

3. How to convert Mobile Voice format wave file to PCM format?

4. trouble with saving pictures in IE 6

5. RIFF file format definitions?

6. Multicast setup problem

7. Compound File Formats, RIFF vs ODA

8. Buying a used version of Windows XP

9. RIFF format for MPEG video-CD files

10. Categories of formats

11. Format Tag in mciSendString

12. Format SDK tag quirk with WM8 Audio

13. audio codec - format tag 2000