mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 05:45:38 +00:00
CubebAudioStream: Remove leftover field
This commit is contained in:
parent
34df233a95
commit
b72e622ae0
|
@ -15,11 +15,6 @@
|
|||
#include "cubeb/cubeb.h"
|
||||
#include "fmt/format.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include "common/windows_headers.h"
|
||||
#include <objbase.h>
|
||||
#endif
|
||||
|
||||
Log_SetChannel(CubebAudioStream);
|
||||
|
||||
namespace {
|
||||
|
@ -44,10 +39,6 @@ private:
|
|||
|
||||
cubeb* m_context = nullptr;
|
||||
cubeb_stream* stream = nullptr;
|
||||
|
||||
#ifdef _WIN32
|
||||
bool m_com_initialized_by_us = false;
|
||||
#endif
|
||||
};
|
||||
} // namespace
|
||||
|
||||
|
@ -111,14 +102,6 @@ void CubebAudioStream::DestroyContextAndStream()
|
|||
cubeb_destroy(m_context);
|
||||
m_context = nullptr;
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
if (m_com_initialized_by_us)
|
||||
{
|
||||
CoUninitialize();
|
||||
m_com_initialized_by_us = false;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
bool CubebAudioStream::Initialize(const char* driver_name, const char* device_name, Error* error)
|
||||
|
|
Loading…
Reference in a new issue