Skip to content
Snippets Groups Projects
Commit ae9c03cf authored by Yun Liu's avatar Yun Liu
Browse files
parents b5ffb182 d3b646d4
Branches
No related tags found
No related merge requests found
......@@ -296,7 +296,7 @@ void PulseLayer::writeToSpeaker( void )
urgentAvail = _urgentRingBuffer.AvailForGet();
if (urgentAvail > 0) {
// Urgent data (dtmf, incoming call signal) come first.
_debug("Play urgent!: %i\n" , urgentAvail);
//_debug("Play urgent!: %i\n" , urgentAvail);
toGet = (urgentAvail < (int)(framesPerBuffer * sizeof(SFLDataFormat))) ? urgentAvail : framesPerBuffer * sizeof(SFLDataFormat);
out = (SFLDataFormat*)pa_xmalloc(toGet * sizeof(SFLDataFormat) );
_urgentRingBuffer.Get(out, toGet, 100);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment