pcm_utils: moved conversion code to pcm_convert.c
All what's left in pcm_utils.h is the pcm_range() utility function, which is only used internally by pcm_volume and pcm_mix.
This commit is contained in:
@@ -235,7 +235,7 @@ configure_hw:
|
||||
|
||||
err = snd_pcm_hw_params_set_format(ad->pcmHandle, hwparams, bitformat);
|
||||
if (err == -EINVAL && audioFormat->bits != 16) {
|
||||
/* fall back to 16 bit, let pcm_utils.c do the conversion */
|
||||
/* fall back to 16 bit, let pcm_convert.c do the conversion */
|
||||
err = snd_pcm_hw_params_set_format(ad->pcmHandle, hwparams,
|
||||
SND_PCM_FORMAT_S16);
|
||||
if (err == 0) {
|
||||
|
||||
Reference in New Issue
Block a user