Commit e4a0d42e authored by claes's avatar claes

Bugfix when both OSS and ALSA present

parent 5c5e4bac
......@@ -461,7 +461,7 @@ void XttAudio::audio_write( XttAudio *audio)
}
}
if(ALSA_audio_ok) {
else if(ALSA_audio_ok) {
int size = audio->write_buffer_size - audio->write_buffer_idx;
if ( size > ALSA_BUFFER_SIZE/2)
size = ALSA_BUFFER_SIZE/2;
......
Markdown is supported
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