1
0
Fork 0
forked from len0rd/rockbox

More iPod changes

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7825 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2005-11-12 15:29:43 +00:00
parent 3c1f659aeb
commit a3bf2ec61c
4 changed files with 153 additions and 117 deletions

View file

@ -329,4 +329,57 @@ void pcm_init(void)
dma_stop();
}
#endif /* HAVE_UDA1380 */
#elif defined(HAVE_WM8975)
/* TODO: Implement for iPod - we should probably move the UDA1380 and
WM8975 specific code into separate files.
For now, just implement some dummy functions.
*/
void pcm_init(void)
{
}
void pcm_set_frequency(unsigned int frequency)
{
(void)frequency;
}
void pcm_play_data(void (*get_more)(unsigned char** start, long* size))
{
(void)get_more;
}
void pcm_play_stop(void)
{
}
void pcm_play_pause(bool play)
{
(void)play;
}
bool pcm_is_paused(void)
{
return false;
}
bool pcm_is_playing(void)
{
return false;
}
void pcm_calculate_peaks(int *left, int *right)
{
(void)left;
(void)right;
}
long pcm_get_bytes_waiting(void)
{
return 0;
}
#endif