void FreeSurround::close() { if (decoder) { dp.release(this); decoder = 0; } }
FreeSurround::~FreeSurround() { LOG(VB_AUDIO, LOG_DEBUG, QString("FreeSurround::~FreeSurround")); close(); if (bufs) { bp.release((void*)1); bufs = NULL; } LOG(VB_AUDIO, LOG_DEBUG, QString("FreeSurround::~FreeSurround done")); }
FreeSurround::~FreeSurround() { VERBOSE(VB_AUDIO+VB_EXTRA, QString("FreeSurround::~FreeSurround")); close(); if (bufs) { bp.release((void*)1); bufs = NULL; } VERBOSE(VB_AUDIO+VB_EXTRA, QString("FreeSurround::~FreeSurround done")); }
FreeSurround::~FreeSurround() { VERBOSE(QString("FreeSurround::~FreeSurround")); close(); /* if (bufs) { bp.release((void*)1); bufs = NULL; } */ if (int16bufs) { bp16.release((void*)1); int16bufs = NULL; } VERBOSE(QString("FreeSurround::~FreeSurround done")); }