Home
last modified time | relevance | path

Searched refs:THROW_ON_ERROR (Results 1 – 2 of 2) sorted by relevance

/haiku/src/add-ons/media/plugins/ape_reader/MAClib/
H A DAPESimple.cpp84 THROW_ON_ERROR(spInputSource->GetHeaderData(spBuffer.GetPtr())) in CompressFileW()
85 THROW_ON_ERROR(spAPECompress->Start(pOutputFilename, &WaveFormatEx, nAudioBytes, in CompressFileW()
99THROW_ON_ERROR(spAPECompress->AddDataFromInputSource(spInputSource.GetPtr(), nBytesLeft, &nBytesAd… in CompressFileW()
113 THROW_ON_ERROR(spInputSource->GetTerminatingData(spBuffer.GetPtr())); in CompressFileW()
114THROW_ON_ERROR(spAPECompress->Finish(spBuffer.GetPtr(), nTerminatingBytes, nTerminatingBytes)) in CompressFileW()
296 THROW_ON_ERROR(spAPEDecompress->GetInfo(APE_INFO_WAVEFORMATEX, (int) &wfeInput)) in DecompressCore()
303THROW_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()
312THROW_ON_ERROR(WriteSafe(spioOutput, spTempBuffer, spAPEDecompress->GetInfo(APE_INFO_WAV_HEADER_BY… in DecompressCore()
322THROW_ON_ERROR(spAPECompress->Start(pOutputFilename, &wfeInput, spAPEDecompress->GetInfo(APE_DECOM… in DecompressCore()
[all …]
H A DAll.h139 #define THROW_ON_ERROR(CODE) { int nRetVal = CODE; if (nRetVal != 0) throw(nRetVal); } macro