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:
c336dc8
)
Commit of ALSA underrun warning message fix
author
Gary Scavone
<gary@music.mcgill.ca>
Mon, 6 Apr 2015 19:42:01 +0000
(15:42 -0400)
committer
Gary Scavone
<gary@music.mcgill.ca>
Mon, 6 Apr 2015 19:42:01 +0000
(15:42 -0400)
RtAudio.cpp
patch
|
blob
|
history
diff --git
a/RtAudio.cpp
b/RtAudio.cpp
index fab38975943363181067b63e04baa1ea6630dace..8cac29935600e75a166283bff42d905b0b258dd6 100755
(executable)
--- a/
RtAudio.cpp
+++ b/
RtAudio.cpp
@@
-8036,6
+8036,8
@@
void RtApiAlsa :: callbackEvent()
errorStream_ << "RtApiAlsa::callbackEvent: error preparing device after underrun, " << snd_strerror( result ) << ".";
\r
errorText_ = errorStream_.str();
\r
}
\r
+ else
\r
+ errorText_ = "RtApiAlsa::callbackEvent: audio write error, underrun.";
\r
}
\r
else {
\r
errorStream_ << "RtApiAlsa::callbackEvent: error, current state is " << snd_pcm_state_name( state ) << ", " << snd_strerror( result ) << ".";
\r