Commit 619fce4c authored by claes's avatar claes

Bugfix in timer reset

parent 2a1eedf9
...@@ -420,7 +420,7 @@ void XttAudio::audio_write( void *data) ...@@ -420,7 +420,7 @@ void XttAudio::audio_write( void *data)
XttAudio *audio = (XttAudio *)data; XttAudio *audio = (XttAudio *)data;
int rc; int rc;
audio->timerid = 0; audio->timerid->remove();
if ( audio->OSS_audio_ok) { if ( audio->OSS_audio_ok) {
int size = audio->write_buffer_size - audio->write_buffer_idx; int size = audio->write_buffer_size - audio->write_buffer_idx;
......
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