Commit c78ef450 authored by Tristan Matthews's avatar Tristan Matthews

* #30362: audiolayer: fix build for older gcc

parent 89852b37
...@@ -49,6 +49,9 @@ AudioLayer::AudioLayer() ...@@ -49,6 +49,9 @@ AudioLayer::AudioLayer()
urgentRingBuffer_.createReadPointer(MainBuffer::DEFAULT_ID); urgentRingBuffer_.createReadPointer(MainBuffer::DEFAULT_ID);
} }
AudioLayer::~AudioLayer()
{}
void AudioLayer::flushMain() void AudioLayer::flushMain()
{ {
std::lock_guard<std::mutex> lock(mutex_); std::lock_guard<std::mutex> lock(mutex_);
......
...@@ -80,7 +80,7 @@ class AudioLayer { ...@@ -80,7 +80,7 @@ class AudioLayer {
}; };
AudioLayer(); AudioLayer();
virtual ~AudioLayer() = default; virtual ~AudioLayer();
virtual std::vector<std::string> getCaptureDeviceList() const = 0; virtual std::vector<std::string> getCaptureDeviceList() const = 0;
virtual std::vector<std::string> getPlaybackDeviceList() const = 0; virtual std::vector<std::string> getPlaybackDeviceList() const = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment