forked from len0rd/rockbox
Work-in-progress iriver iFP-7xx port by Tomasz Malesinski
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8d13068421
commit
d83e929f3f
52 changed files with 737 additions and 18 deletions
|
@ -487,4 +487,55 @@ long pcm_get_bytes_waiting(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#elif CONFIG_CPU == PNX0101
|
||||
|
||||
/* TODO: Implement for iFP7xx
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue