Bring consistency to pcm implementation and samplerate handling. Less low-level dupli...
[kugel-rb.git] / firmware / target / arm / tms320dm320 / mrobe-500 / pcm-mr500.c
blob4c9cc337a5522611f1e65be2c5ea477489bffbab
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2007 by Karl Kurbjun
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
21 #include "system.h"
22 #include "kernel.h"
23 #include "logf.h"
24 #include "audio.h"
25 #include "sound.h"
26 #include "file.h"
28 void pcm_postinit(void)
33 const void * pcm_play_dma_get_peak_buffer(int *count)
35 (void) count;
36 return 0;
39 void pcm_play_dma_init(void)
44 void pcm_dma_apply_settings(void)
48 void pcm_play_dma_start(const void *addr, size_t size)
50 (void) addr;
51 (void) size;
54 void pcm_play_dma_stop(void)
59 void pcm_play_lock(void)
64 void pcm_play_unlock(void)
69 void pcm_play_dma_pause(bool pause)
71 (void) pause;
74 size_t pcm_get_bytes_waiting(void)
76 return 0;