mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Fix warning.
This commit is contained in:
parent
db258a0fbd
commit
fd0ae12f24
2
audio.c
2
audio.c
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user