mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
Bring consistency to pcm implementation and samplerate handling. Less low-level duplication. A small test_sampr fix so it works on coldfire again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19400 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0ad97d13fc
commit
e69d567d9e
37 changed files with 316 additions and 449 deletions
|
|
@ -58,14 +58,13 @@ void pcm_play_dma_init(void)
|
|||
audiohw_init();
|
||||
}
|
||||
|
||||
void pcm_set_frequency(unsigned int frequency)
|
||||
void pcm_dma_apply_settings(void)
|
||||
{
|
||||
(void) frequency;
|
||||
/* TODO */
|
||||
|
||||
/*
|
||||
__i2s_set_oss_sample_size(frequency);
|
||||
i2s_codec_set_samplerate(frequency);
|
||||
__i2s_set_oss_sample_size(pcm_sampr);
|
||||
i2s_codec_set_samplerate(pcm_sampr);
|
||||
*/
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue