~Atrac() { #ifdef USE_FFMPEG ReleaseFFMPEGContext(); #endif // USE_FFMPEG if (data_buf) delete [] data_buf; }
void CleanStuff() { #ifdef USE_FFMPEG ReleaseFFMPEGContext(); #endif // USE_FFMPEG #ifdef _USE_DSHOW_ deleteAtrac3Audio(atracID); #endif // _USE_DSHOW_ if (data_buf) delete [] data_buf; data_buf = 0; }