diff options
Diffstat (limited to 'firmware/target/hosted/pcm-alsa.c')
-rw-r--r-- | firmware/target/hosted/pcm-alsa.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/hosted/pcm-alsa.c b/firmware/target/hosted/pcm-alsa.c index c84679e9f3..f6a3ffce71 100644 --- a/firmware/target/hosted/pcm-alsa.c +++ b/firmware/target/hosted/pcm-alsa.c | |||
@@ -479,6 +479,10 @@ static void pcm_dma_apply_settings_nolock(void) | |||
479 | { | 479 | { |
480 | snd_pcm_drop(handle); | 480 | snd_pcm_drop(handle); |
481 | set_hwparams(handle, pcm_sampr); | 481 | set_hwparams(handle, pcm_sampr); |
482 | #if defined(HAVE_NWZ_LINUX_CODEC) | ||
483 | /* Sony NWZ linux driver uses a nonstandard mecanism to set the sampling rate */ | ||
484 | audiohw_set_frequency(pcm_sampr); | ||
485 | #endif | ||
482 | } | 486 | } |
483 | 487 | ||
484 | void pcm_dma_apply_settings(void) | 488 | void pcm_dma_apply_settings(void) |