Searched refs:pWaveFormatEx (Results 1 - 5 of 5) sorted by relevance

/haiku/src/add-ons/media/plugins/ape_reader/MAClib/
H A DPrepare.h32 const WAVEFORMATEX* pWaveFormatEx, int* pOutputX,
35 void Unprepare(int X, int Y, const WAVEFORMATEX* pWaveFormatEx,
40 const WAVEFORMATEX* pWaveFormatEx, unsigned char* pRawData,
H A DMACLib.cpp122 int __stdcall FillWaveFormatEx(WAVEFORMATEX * pWaveFormatEx, int nSampleRate, int nBitsPerSample, int nChannels) argument
124 pWaveFormatEx->cbSize = 0;
125 pWaveFormatEx->nSamplesPerSec = nSampleRate;
126 pWaveFormatEx->wBitsPerSample = nBitsPerSample;
127 pWaveFormatEx->nChannels = nChannels;
128 pWaveFormatEx->wFormatTag = 1;
130 pWaveFormatEx->nBlockAlign = (pWaveFormatEx->wBitsPerSample / 8) * pWaveFormatEx->nChannels;
131 pWaveFormatEx
136 FillWaveHeader(WAVE_HEADER * pWAVHeader, int nAudioBytes, WAVEFORMATEX * pWaveFormatEx, int nTerminatingBytes) argument
[all...]
H A DPrepare.cpp52 const WAVEFORMATEX* pWaveFormatEx, int* pOutputX, int* pOutputY,
56 if (pRawData == NULL || pWaveFormatEx == NULL)
65 const int nTotalBlocks = nBytes / pWaveFormatEx->nBlockAlign;
69 if (pWaveFormatEx->wBitsPerSample == 8) {
70 if (pWaveFormatEx->nChannels == 2) {
90 } else if (pWaveFormatEx->nChannels == 1) {
106 } else if (pWaveFormatEx->wBitsPerSample == 24) {
107 if (pWaveFormatEx->nChannels == 2) {
151 } else if (pWaveFormatEx->nChannels == 1) {
180 if (pWaveFormatEx
51 Prepare(const unsigned char* pRawData, int nBytes, const WAVEFORMATEX* pWaveFormatEx, int* pOutputX, int* pOutputY, unsigned int* pCRC, int* pSpecialCodes, int* pPeakLevel) argument
260 Unprepare(int X, int Y, const WAVEFORMATEX* pWaveFormatEx, unsigned char* pOutput, unsigned int* pCRC) argument
358 UnprepareOld(int* pInputX, int* pInputY, int nBlocks, const WAVEFORMATEX* pWaveFormatEx, unsigned char* pRawData, unsigned int* pCRC, int* pSpecialCodes, int nFileVersion) argument
[all...]
H A DMACLib.h449 DLLEXPORT int __stdcall FillWaveFormatEx(WAVEFORMATEX * pWaveFormatEx, int nSampleRate = 44100, int nBitsPerSample = 16, int nChannels = 2);
450 DLLEXPORT int __stdcall FillWaveHeader(WAVE_HEADER * pWAVHeader, int nAudioBytes, WAVEFORMATEX * pWaveFormatEx, int nTerminatingBytes = 0);
H A DAPEInfo.cpp308 WAVEFORMATEX * pWaveFormatEx = (WAVEFORMATEX *) nParam1; local
309 FillWaveFormatEx(pWaveFormatEx, m_APEFileInfo.nSampleRate, m_APEFileInfo.nBitsPerSample, m_APEFileInfo.nChannels);

Completed in 40 milliseconds