aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/pulseaudio.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-04-21 20:26:29 -0700
committerChris Robinson <[email protected]>2014-04-21 20:26:29 -0700
commitad71565e458ab78f08d83a5c87313a4b71c5f2ad (patch)
tree669ab19ca2642af684dd24d98ff2d4552caf2ff7 /Alc/backends/pulseaudio.c
parentca1008571e21d9c641d3b92a7e9ec8a0e087e20d (diff)
Trace the device name being opened in ALSA and PulseAudio
Diffstat (limited to 'Alc/backends/pulseaudio.c')
-rw-r--r--Alc/backends/pulseaudio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/backends/pulseaudio.c b/Alc/backends/pulseaudio.c
index 6e14d80e..a90fb869 100644
--- a/Alc/backends/pulseaudio.c
+++ b/Alc/backends/pulseaudio.c
@@ -864,6 +864,7 @@ static ALCenum ALCpulsePlayback_open(ALCpulsePlayback *self, const ALCchar *name
spec.rate = 44100;
spec.channels = 2;
+ TRACE("Connecting to \"%s\"\n", pulse_name ? pulse_name : "(default)");
self->stream = ALCpulsePlayback_connectStream(pulse_name, self->loop, self->context,
flags, NULL, &spec, NULL);
if(!self->stream)
@@ -1437,6 +1438,7 @@ static ALCenum ALCpulseCapture_open(ALCpulseCapture *self, const ALCchar *name)
if(!GetConfigValueBool("pulse", "allow-moves", 0))
flags |= PA_STREAM_DONT_MOVE;
+ TRACE("Connecting to \"%s\"\n", pulse_name ? pulse_name : "(default)");
self->stream = ALCpulseCapture_connectStream(pulse_name, self->loop, self->context,
flags, &self->attr, &self->spec,
&chanmap);