Hi,
I need access to the WAV bits. I don't see a runtime interface to access this, so I was thinking I could extract them from the .xwb file. Now the problem is the file format. I see the .xap file format is listed in the docs, but nothing on .xwb.
How can I obtain access to the raw WAV bits in XACT
Regards.

.XWB file format
Satyendra Gupta
I ran into a problem where I had the incorrect byte-order for the WAVEBANKMINIWAVEFORMAT.format thing that reports those values. Also, the wBitsPerSample is only defined by one bit, so I guess that flag is a defined for either 8 or 16 bits.
Donald Sechrest
dncjp
Thx for the info. I managed to dig my way down to the WAVEBANKMINIWAVEFORMAT inside the WAVEBANKENTRY segment.
Along the way I got appropriate values for things like:
- # of bank entries
- bank name
- bank length
However, the Format member in the WAVEBANKMINIWAVEFORMAT returns values that seem a little off, for example:
Format.BitsPerSample() //16 - no problem
Format.nChannels //3 Shouldn't this be 2
Format.BlockAlign() //255 - sure i guess
Format.nSamplesPerSec //22525 This is close to 22050, but I'm expecting
//44100
Format.wBitsPerSample //1 shouldn't this be 16 like above
Suggestions