Commit 2345dd70 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#1962] Comment playback/ringtone frame size in audio callback

parent 9433978d
......@@ -879,7 +879,7 @@ void AlsaLayer::audioCallback (void)
int playbackAvailSmpl = snd_pcm_avail_update(_PlaybackHandle);
int playbackAvailBytes = playbackAvailSmpl*sizeof(SFLDataFormat);
_debug("PLAYBACK: %d", playbackAvailSmpl);
// _debug("PLAYBACK: %d", playbackAvailSmpl);
if (urgentAvailBytes > 0) {
......@@ -997,7 +997,7 @@ void AlsaLayer::audioCallback (void)
int ringtoneAvailSmpl = snd_pcm_avail_update(_RingtoneHandle);
int ringtoneAvailBytes = ringtoneAvailSmpl*sizeof(SFLDataFormat);
_debug("RINGTONE: %d", ringtoneAvailSmpl);
// _debug("RINGTONE: %d", ringtoneAvailSmpl);
out = (SFLDataFormat *) malloc(ringtoneAvailBytes);
file_tone->getNext (out, ringtoneAvailSmpl, spkrVolume);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment