pxcStatus status = sample->AcquireAccess(PXCAudio::ACCESS_READ, &data);
gives me a pointer to a uchar buffer that should contain the audio data with 16 Bit per Sample.
But it is not said in which format the sample is stored (short,ushort..., big endian, small endien) or in witch order the samples of the two channels are stored. No matter how I tried all I get from the device is Noise. (I even have the same problem with the AUDIO_FORMAT_IEEE_FLOAT format.)
Does anybody know how the data is stored exactly?
Can anybody provide a working example how to interpread the data in the correct way?