Temporarily disable ringtones

This commit is contained in:
Emmanuel Milou
2008-03-03 14:47:31 -05:00
parent f320244f38
commit ab7002ac46

View File

@ -817,7 +817,7 @@ ManagerImpl::playATone(Tone::TONEID toneId) {
SFLDataFormat buf[nbSampling]; SFLDataFormat buf[nbSampling];
audioloop->getNext(buf, (int) nbSampling); audioloop->getNext(buf, (int) nbSampling);
if ( audiolayer ) { if ( audiolayer ) {
audiolayer->putUrgent( buf, sizeof(SFLDataFormat)*nbSampling ); //audiolayer->putUrgent( buf, sizeof(SFLDataFormat)*nbSampling );
} }
else else
return false; return false;
@ -906,7 +906,7 @@ ManagerImpl::ringtone()
int size = _audiofile.getSize(); int size = _audiofile.getSize();
SFLDataFormat output[ size ]; SFLDataFormat output[ size ];
_audiofile.getNext(output, size , 100); _audiofile.getNext(output, size , 100);
audiolayer->putUrgent( output , size ); //audiolayer->putUrgent( output , size );
} else { } else {
ringback(); ringback();
} }