mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
sonynwza10/a20: enable pcm frequency selection
Change-Id: I335fcdbb652253e777d0d7406545d0d44d98f4f0
This commit is contained in:
parent
50e93d5687
commit
a82ebac53a
5 changed files with 41 additions and 1 deletions
|
|
@ -479,6 +479,10 @@ static void pcm_dma_apply_settings_nolock(void)
|
|||
{
|
||||
snd_pcm_drop(handle);
|
||||
set_hwparams(handle, pcm_sampr);
|
||||
#if defined(HAVE_NWZ_LINUX_CODEC)
|
||||
/* Sony NWZ linux driver uses a nonstandard mecanism to set the sampling rate */
|
||||
audiohw_set_frequency(pcm_sampr);
|
||||
#endif
|
||||
}
|
||||
|
||||
void pcm_dma_apply_settings(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue