summaryrefslogtreecommitdiff
path: root/RtAudio.cpp
diff options
context:
space:
mode:
authorGary Scavone <gary@music.mcgill.ca>2015-04-06 15:42:01 -0400
committerGary Scavone <gary@music.mcgill.ca>2015-04-06 15:42:01 -0400
commitd4387bfdc05932ac0ef084e42a28c7e23b870a86 (patch)
treed1d493c3fffc0860f96e64e466972e5867a972a5 /RtAudio.cpp
parentc336dc89f6b6b3742fdabc4b3e2430b2c4f59726 (diff)
Commit of ALSA underrun warning message fix
Diffstat (limited to 'RtAudio.cpp')
-rwxr-xr-xRtAudio.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/RtAudio.cpp b/RtAudio.cpp
index fab3897..8cac299 100755
--- a/RtAudio.cpp
+++ b/RtAudio.cpp
@@ -8036,6 +8036,8 @@ void RtApiAlsa :: callbackEvent()
errorStream_ << "RtApiAlsa::callbackEvent: error preparing device after underrun, " << snd_strerror( result ) << ".";
errorText_ = errorStream_.str();
}
+ else
+ errorText_ = "RtApiAlsa::callbackEvent: audio write error, underrun.";
}
else {
errorStream_ << "RtApiAlsa::callbackEvent: error, current state is " << snd_pcm_state_name( state ) << ", " << snd_strerror( result ) << ".";