diff options
| author | Gary Scavone <gary@music.mcgill.ca> | 2015-04-06 15:44:04 -0400 |
|---|---|---|
| committer | Gary Scavone <gary@music.mcgill.ca> | 2015-04-06 15:44:04 -0400 |
| commit | dbc3df943c5f3a5abae764a4dd1177c75ed8cfbf (patch) | |
| tree | d1d493c3fffc0860f96e64e466972e5867a972a5 /RtAudio.cpp | |
| parent | c336dc89f6b6b3742fdabc4b3e2430b2c4f59726 (diff) | |
| parent | d4387bfdc05932ac0ef084e42a28c7e23b870a86 (diff) | |
Merge branch 'igor-mikushkin-fix_alsa_underrun_warning'
Merge of ALSA underrun warning fix.
Diffstat (limited to 'RtAudio.cpp')
| -rwxr-xr-x | RtAudio.cpp | 2 |
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 ) << ".";
|
