mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
Temporarily disable ringtones
This commit is contained in:
@ -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();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user