Searched refs:nBlockAlign (Results 1 – 12 of 12) sorted by relevance
24 unsigned short nBlockAlign; // block alignment member82 if (pTotalBlocks) *pTotalBlocks = m_nDataBytes / m_wfeSource.nBlockAlign; in CWAVInputSource()116 if (pTotalBlocks) *pTotalBlocks = m_nDataBytes / m_wfeSource.nBlockAlign; in CWAVInputSource()206 if ((m_nDataBytes % m_wfeSource.nBlockAlign) != 0) in AnalyzeSource()220 int nBytes = (m_wfeSource.nBlockAlign * nBlocks); in GetData()226 if (pBlocksRetrieved) *pBlocksRetrieved = (nBytesRead / m_wfeSource.nBlockAlign); in GetData()
187 pInfo->nBlockAlign = pInfo->nBytesPerSample * pInfo->nChannels; in AnalyzeCurrent()191 pInfo->nWAVDataBytes = pInfo->nTotalBlocks * pInfo->nBlockAlign; in AnalyzeCurrent()196 pInfo->nDecompressedBitrate = (pInfo->nBlockAlign * pInfo->nSampleRate * 8) / 1000; in AnalyzeCurrent()251 pInfo->nBlockAlign = pInfo->nBytesPerSample * pInfo->nChannels; in AnalyzeOld()255 pInfo->nWAVDataBytes = pInfo->nTotalBlocks * pInfo->nBlockAlign; in AnalyzeOld()260 pInfo->nDecompressedBitrate = (pInfo->nBlockAlign * pInfo->nSampleRate * 8) / 1000; in AnalyzeOld()
219 while ((nBytesToAdd % m_wfeInput.nBlockAlign) != 0) in AddDataFromInputSource()222 int nBlocksToAdd = nBytesToAdd / m_wfeInput.nBlockAlign; in AddDataFromInputSource()230 nBytesRead = (nBlocksAdded * m_wfeInput.nBlockAlign); in AddDataFromInputSource()
54 uint32 nMaxAudioBlocks = nMaxAudioBytes / pwfeInput->nBlockAlign; in Start()66 return m_nSamplesPerFrame * m_wfeInput.nBlockAlign; in GetFullFrameBytes()71 int nInputBlocks = nInputBytes / m_wfeInput.nBlockAlign; in EncodeFrame()
130 pWaveFormatEx->nBlockAlign = (pWaveFormatEx->wBitsPerSample / 8) * pWaveFormatEx->nChannels; in FillWaveFormatEx()131 pWaveFormatEx->nAvgBytesPerSec = pWaveFormatEx->nBlockAlign * pWaveFormatEx->nSamplesPerSec; in FillWaveFormatEx()
71 WORD nBlockAlign; /* block size of data */ member
44 … int nBlockAlign; // audio block align (channels * bytes per sample) member
29 const int nInputBlocks = nInputBytes / m_wfeInput.nBlockAlign; in EncodeFrame()
109 unsigned short nBlockAlign; member
160 nRetVal = m_APEFileInfo.nBlockAlign; in GetInfo()
80 int nAudioBytes = nAudioBlocks * WaveFormatEx.nBlockAlign; in CompressFileW()
65 const int nTotalBlocks = nBytes / pWaveFormatEx->nBlockAlign; in Prepare()