pulseaudio: Remove WARN_LOG second argument

First argument is "LogTypes::LOG_TYPE" and second argument must be "const char*"
This commit is contained in:
scribam 2019-08-22 20:17:46 +02:00
parent 262af15336
commit 7cd4b7b10b
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ static void pulseaudio_init()
static u32 pulseaudio_push(void* frame, u32 samples, bool wait)
{
if (pa_simple_write(pulse_stream, frame, (size_t) samples*4, NULL) < 0) {
WARN_LOG(AUDIO, stderr, "PulseAudio: pa_simple_write() failed!");
WARN_LOG(AUDIO, "PulseAudio: pa_simple_write() failed!");
}
return 0;
}
@ -33,7 +33,7 @@ static void pulseaudio_term() {
{
// Make sure that every single sample was played
if (pa_simple_drain(pulse_stream, NULL) < 0) {
WARN_LOG(AUDIO, stderr, "PulseAudio: pa_simple_drain() failed!");
WARN_LOG(AUDIO, "PulseAudio: pa_simple_drain() failed!");
}
pa_simple_free(pulse_stream);
}