Fix warning.

This commit is contained in:
Johns 2012-03-02 00:28:53 +01:00
parent db258a0fbd
commit fd0ae12f24

View File

@ -1115,7 +1115,7 @@ static int AlsaSetup(int *freq, int *channels, int use_ac3)
// update buffer // update buffer
snd_pcm_get_params(AlsaPCMHandle, &buffer_size, &period_size); snd_pcm_get_params(AlsaPCMHandle, &buffer_size, &period_size);
Info(_("audio/alsa: buffer size %lu %lums, period size %lu %lums\n"), Info(_("audio/alsa: buffer size %lu %zdms, period size %lu %zdms\n"),
buffer_size, snd_pcm_frames_to_bytes(AlsaPCMHandle, buffer_size, snd_pcm_frames_to_bytes(AlsaPCMHandle,
buffer_size) * 1000 / (AudioSampleRate * AudioChannels * buffer_size) * 1000 / (AudioSampleRate * AudioChannels *
AudioBytesProSample), period_size, AudioBytesProSample), period_size,