summaryrefslogtreecommitdiff
path: root/RtAudio.cpp
diff options
context:
space:
mode:
authorGary Scavone <gary@music.mcgill.ca>2015-05-08 09:26:50 -0400
committerGary Scavone <gary@music.mcgill.ca>2015-05-08 09:26:50 -0400
commitf6829a48de2bb0a2a0a7c000fd96d2b2e3874eb2 (patch)
tree5ac47ee86f66173be18d72ecc833b4dac05b2620 /RtAudio.cpp
parent479259ce0235190da039d2bb8cb08f6912ac55bc (diff)
Update optional stream name for playback in PulseAudio API.
Diffstat (limited to 'RtAudio.cpp')
-rwxr-xr-xRtAudio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/RtAudio.cpp b/RtAudio.cpp
index 6fe26d0..cc81fc9 100755
--- a/RtAudio.cpp
+++ b/RtAudio.cpp
@@ -8522,7 +8522,7 @@ bool RtApiPulse::probeDeviceOpen( unsigned int device, StreamMode mode,
}
break;
case OUTPUT:
- pah->s_play = pa_simple_new( NULL, "RtAudio", PA_STREAM_PLAYBACK, NULL, "Playback", &ss, NULL, NULL, &error );
+ pah->s_play = pa_simple_new( NULL, streamName.c_str(), PA_STREAM_PLAYBACK, NULL, "Playback", &ss, NULL, NULL, &error );
if ( !pah->s_play ) {
errorText_ = "RtApiPulse::probeDeviceOpen: error connecting output to PulseAudio server.";
goto error;