diff options
-rw-r--r-- | src/audio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio.c b/src/audio.c index ad1bf29..980bfe6 100644 --- a/src/audio.c +++ b/src/audio.c @@ -284,9 +284,9 @@ static void *audio_play_vorbis(void *add_void) { a->sounds[idx].volume = add->volume; a->sounds[idx].playing = 1; /* Must be done last - tell the mixer thread it can use this */ } - if ( a->debug ) printf("AU: Channel %i: decode_pos=%i, dpos=%li. " + if ( a->debug ) printf("AU: Channel %i: decode_pos=%li, dpos=%li. " "I am now %.1f seconds ahead of the playing position.\n", - idx, a->sounds[idx].decode_pos, a->sounds[idx].dpos, + idx, (long int)a->sounds[idx].decode_pos, a->sounds[idx].dpos, ((double)a->sounds[idx].decode_pos-a->sounds[idx].dpos)/(44100*2)); /* Sleep for eight seconds while periodically checking for shutdown */ |