projects
/
rtaudio-cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2f63bd
)
Fix for NULL options in PULSE audio backend in probeDeviceOpen
author
Harris Georgiou
<har.georgiou@gmail.com>
Thu, 16 Oct 2014 12:12:16 +0000
(14:12 +0200)
committer
Harris Georgiou
<har.georgiou@gmail.com>
Thu, 16 Oct 2014 12:12:16 +0000
(14:12 +0200)
RtAudio.cpp
patch
|
blob
|
history
diff --git
a/RtAudio.cpp
b/RtAudio.cpp
index af7d205a1977491c39e76b85affb3fc8dc332807..6ac99ce77a5ca1cf1c50b8bab96de49be6f2c9f3 100644
(file)
--- a/
RtAudio.cpp
+++ b/
RtAudio.cpp
@@
-8424,7
+8424,7
@@
bool RtApiPulse::probeDeviceOpen( unsigned int device, StreamMode mode,
pah = static_cast<PulseAudioHandle *>( stream_.apiHandle );
\r
\r
int error;
\r
- if ( !options->streamName.empty() ) streamName = options->streamName;
\r
+ if (
options &&
!options->streamName.empty() ) streamName = options->streamName;
\r
switch ( mode ) {
\r
case INPUT:
\r
pa_buffer_attr buffer_attr;
\r