diff options
Diffstat (limited to 'src/audioOutputs/audioOutput_alsa.c')
-rw-r--r-- | src/audioOutputs/audioOutput_alsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audioOutputs/audioOutput_alsa.c b/src/audioOutputs/audioOutput_alsa.c index 83c4f228c..995ee3a9a 100644 --- a/src/audioOutputs/audioOutput_alsa.c +++ b/src/audioOutputs/audioOutput_alsa.c @@ -289,7 +289,7 @@ configure_hw: if (err < 0) goto error; - ad->sampleSize = (audioFormat->bits / 8) * audioFormat->channels; + ad->sampleSize = audio_format_sample_size(audioFormat) * audioFormat->channels; audioOutput->open = 1; |