Browse Source

Update optional stream name for playback in PulseAudio API.

tags/4.1.2
Gary Scavone 10 years ago
parent
commit
f6829a48de
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      RtAudio.cpp

+ 1
- 1
RtAudio.cpp View File

@@ -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;


Loading…
Cancel
Save