Browse Source

Commit of ALSA underrun warning message fix

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

+ 2
- 0
RtAudio.cpp View File

@@ -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 ) << ".";


Loading…
Cancel
Save