mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Replace uses of cassert with Common/Assert.h
This commit is contained in:
@ -5,6 +5,8 @@
|
||||
#include <cstring>
|
||||
|
||||
#include "AudioCommon/PulseAudioStream.h"
|
||||
|
||||
#include "Common/Assert.h"
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Common/Logging/Log.h"
|
||||
#include "Common/Thread.h"
|
||||
@ -104,7 +106,7 @@ bool PulseAudio::PulseInit()
|
||||
}
|
||||
ss.channels = m_channels;
|
||||
ss.rate = m_mixer->GetSampleRate();
|
||||
assert(pa_sample_spec_valid(&ss));
|
||||
ASSERT(pa_sample_spec_valid(&ss));
|
||||
m_pa_s = pa_stream_new(m_pa_ctx, "Playback", &ss, channel_map_p);
|
||||
pa_stream_set_write_callback(m_pa_s, WriteCallback, this);
|
||||
pa_stream_set_underflow_callback(m_pa_s, UnderflowCallback, this);
|
||||
|
Reference in New Issue
Block a user