Searched refs:THROW_ON_ERROR (Results 1 – 2 of 2) sorted by relevance
/haiku/src/add-ons/media/plugins/ape_reader/MAClib/ |
H A D | APESimple.cpp | 84 THROW_ON_ERROR(spInputSource->GetHeaderData(spBuffer.GetPtr())) in CompressFileW() 85 THROW_ON_ERROR(spAPECompress->Start(pOutputFilename, &WaveFormatEx, nAudioBytes, in CompressFileW() 99 …THROW_ON_ERROR(spAPECompress->AddDataFromInputSource(spInputSource.GetPtr(), nBytesLeft, &nBytesAd… in CompressFileW() 113 THROW_ON_ERROR(spInputSource->GetTerminatingData(spBuffer.GetPtr())); in CompressFileW() 114 … THROW_ON_ERROR(spAPECompress->Finish(spBuffer.GetPtr(), nTerminatingBytes, nTerminatingBytes)) in CompressFileW() 296 THROW_ON_ERROR(spAPEDecompress->GetInfo(APE_INFO_WAVEFORMATEX, (int) &wfeInput)) in DecompressCore() 303 …THROW_ON_ERROR(spAPEDecompress->GetInfo(APE_INFO_WAV_HEADER_DATA, (int) spTempBuffer.GetPtr(), spA… in DecompressCore() 309 … spioOutput.Assign(new IO_CLASS_NAME); THROW_ON_ERROR(spioOutput->Create(pOutputFilename)) in DecompressCore() 312 …THROW_ON_ERROR(WriteSafe(spioOutput, spTempBuffer, spAPEDecompress->GetInfo(APE_INFO_WAV_HEADER_BY… in DecompressCore() 322 …THROW_ON_ERROR(spAPECompress->Start(pOutputFilename, &wfeInput, spAPEDecompress->GetInfo(APE_DECOM… in DecompressCore() [all …]
|
H A D | All.h | 139 #define THROW_ON_ERROR(CODE) { int nRetVal = CODE; if (nRetVal != 0) throw(nRetVal); } macro
|