1
0
Fork 0
forked from len0rd/rockbox

Add a dummy pcm_set_frequency() function for the sim. Can someone who knows SDL implement it?

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11880 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2007-01-01 14:01:08 +00:00
parent fd8bac806b
commit ec529a1556

View file

@ -144,6 +144,12 @@ bool pcm_is_playing(void)
return pcm_playing;
}
void pcm_set_frequency(unsigned int frequency)
{
/* To be implemented */
(void)frequency;
}
/*
* This function goes directly into the DMA buffer to calculate the left and
* right peak values. To avoid missing peaks it tries to look forward two full