Searched refs:spTempBuffer (Results 1 - 2 of 2) sorted by path
/haiku/src/add-ons/media/plugins/ape_reader/MAClib/ |
H A D | APEDecompress.cpp | 154 CSmartPtr<char> spTempBuffer(new char [nBytesToSkip], TRUE); 155 if (spTempBuffer == NULL) return ERROR_INSUFFICIENT_MEMORY; 158 GetData(spTempBuffer, nBlocksToSkip, &nBlocksRetrieved);
|
H A D | APESimple.cpp | 285 CSmartPtr<unsigned char> spTempBuffer; local 299 spTempBuffer.Assign(new unsigned char [spAPEDecompress->GetInfo(APE_INFO_WAV_HEADER_BYTES)], TRUE); 300 if (spTempBuffer == NULL) throw(ERROR_INSUFFICIENT_MEMORY); 303 THROW_ON_ERROR(spAPEDecompress->GetInfo(APE_INFO_WAV_HEADER_DATA, (int) spTempBuffer.GetPtr(), spAPEDecompress->GetInfo(APE_INFO_WAV_HEADER_BYTES))); 312 THROW_ON_ERROR(WriteSafe(spioOutput, spTempBuffer, spAPEDecompress->GetInfo(APE_INFO_WAV_HEADER_BYTES))); 323 nCompressionLevel, spTempBuffer, spAPEDecompress->GetInfo(APE_INFO_WAV_HEADER_BYTES))) 327 spTempBuffer.Assign(new unsigned char [spAPEDecompress->GetInfo(APE_INFO_BLOCK_ALIGN) * BLOCKS_PER_DECODE], TRUE); 328 if (spTempBuffer == NULL) throw(ERROR_INSUFFICIENT_MEMORY); 340 int nRetVal = spAPEDecompress->GetData((char *) spTempBuffer.GetPtr(), BLOCKS_PER_DECODE, &nBlocksDecoded); 349 int nRetVal = spioOutput->Write(spTempBuffer, nBytesToWrit [all...] |
Completed in 44 milliseconds