Home
last modified time | relevance | path

Searched refs:nBlockAlign (Results 1 – 12 of 12) sorted by relevance

/haiku/src/add-ons/media/plugins/ape_reader/MAClib/
H A DWAVInputSource.cpp24 unsigned short nBlockAlign; // block alignment member
82 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()
H A DAPEHeader.cpp187 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()
H A DAPECompress.cpp219 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()
H A DAPECompressCreate.cpp54 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()
H A DMACLib.cpp130 pWaveFormatEx->nBlockAlign = (pWaveFormatEx->wBitsPerSample / 8) * pWaveFormatEx->nChannels; in FillWaveFormatEx()
131 pWaveFormatEx->nAvgBytesPerSec = pWaveFormatEx->nBlockAlign * pWaveFormatEx->nSamplesPerSec; in FillWaveFormatEx()
H A DNoWindows.h71 WORD nBlockAlign; /* block size of data */ member
H A DAPEInfo.h44 … int nBlockAlign; // audio block align (channels * bytes per sample) member
H A DAPECompressCore.cpp29 const int nInputBlocks = nInputBytes / m_wfeInput.nBlockAlign; in EncodeFrame()
H A DMACLib.h109 unsigned short nBlockAlign; member
H A DAPEInfo.cpp160 nRetVal = m_APEFileInfo.nBlockAlign; in GetInfo()
H A DAPESimple.cpp80 int nAudioBytes = nAudioBlocks * WaveFormatEx.nBlockAlign; in CompressFileW()
H A DPrepare.cpp65 const int nTotalBlocks = nBytes / pWaveFormatEx->nBlockAlign; in Prepare()