1
0
Fork 0
forked from len0rd/rockbox

merge a big part of the unofficial gigabeat cvs back. Includes working bootloader and rockbox with audio.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11850 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Marcoen Hirschberg 2006-12-29 02:49:12 +00:00
parent 995a804def
commit 295367686e
31 changed files with 1506 additions and 196 deletions

View file

@ -59,46 +59,9 @@ void pcm_play_pause_unpause(void);
/** Functions that require targeted implementation **/
#ifndef CPU_COLDFIRE
#if !defined(CPU_COLDFIRE) && (CONFIG_CPU != S3C2440)
#if (CONFIG_CPU == S3C2440)
/* TODO: Implement for Gigabeat
For now, just implement some dummy functions.
*/
void pcm_init(void)
{
}
void pcm_play_dma_start(const void *addr, size_t size)
{
(void)addr;
(void)size;
}
void pcm_play_dma_stop(void)
{
}
void pcm_play_pause_pause(void)
{
}
void pcm_play_pause_unpause(void)
{
}
void pcm_set_frequency(unsigned int frequency)
{
(void)frequency;
}
size_t pcm_get_bytes_waiting(void)
{
return 0;
}
#elif (CONFIG_CPU == PNX0101)
#if (CONFIG_CPU == PNX0101)
#define DMA_BUF_SAMPLES 0x100