GetDataSInt16 obtains sound data from the video file in SInt16 format. This function should only be called if VideoSound::GetPCMFormat returns PCM_SInt16.
Parameters |
Description |
UInt32 nch |
Number of channels for the PCM data. |
SInt16 * pcmbuf[] |
Buffer for storing the chunks of sound data. |
req_nsmpl |
Number of samples. |