diff options
| author | Gary Scavone <gary@music.mcgill.ca> | 2015-05-08 09:26:50 -0400 |
|---|---|---|
| committer | Gary Scavone <gary@music.mcgill.ca> | 2015-05-08 09:26:50 -0400 |
| commit | f6829a48de2bb0a2a0a7c000fd96d2b2e3874eb2 (patch) | |
| tree | 5ac47ee86f66173be18d72ecc833b4dac05b2620 /RtAudio.cpp | |
| parent | 479259ce0235190da039d2bb8cb08f6912ac55bc (diff) | |
Update optional stream name for playback in PulseAudio API.
Diffstat (limited to 'RtAudio.cpp')
| -rwxr-xr-x | RtAudio.cpp | 2 |
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;
|
