2007-09-20 04:46:41 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* __________ __ ___.
|
|
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
* \/ \/ \/ \/ \/
|
2007-09-22 15:43:38 +00:00
|
|
|
* $Id$
|
2007-09-20 04:46:41 +00:00
|
|
|
*
|
|
|
|
* Copyright (C) 2007 by Karl Kurbjun
|
|
|
|
*
|
2008-06-28 18:10:04 +00:00
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
2007-09-20 04:46:41 +00:00
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
#include "system.h"
|
|
|
|
#include "kernel.h"
|
2007-09-30 16:29:21 +00:00
|
|
|
#include "logf.h"
|
|
|
|
#include "audio.h"
|
|
|
|
#include "sound.h"
|
|
|
|
#include "file.h"
|
2007-09-20 04:46:41 +00:00
|
|
|
|
2007-10-13 14:53:34 +00:00
|
|
|
void pcm_postinit(void)
|
2007-09-30 16:29:21 +00:00
|
|
|
{
|
2007-09-20 04:46:41 +00:00
|
|
|
|
2007-09-30 16:29:21 +00:00
|
|
|
}
|
2007-09-22 23:17:52 +00:00
|
|
|
|
2007-10-13 14:53:34 +00:00
|
|
|
const void * pcm_play_dma_get_peak_buffer(int *count)
|
2007-09-30 16:29:21 +00:00
|
|
|
{
|
2007-10-13 14:53:34 +00:00
|
|
|
(void) count;
|
|
|
|
return 0;
|
2007-09-30 16:29:21 +00:00
|
|
|
}
|
2007-09-23 23:08:39 +00:00
|
|
|
|
2007-10-13 14:53:34 +00:00
|
|
|
void pcm_play_dma_init(void)
|
2007-09-30 16:29:21 +00:00
|
|
|
{
|
2007-10-13 14:53:34 +00:00
|
|
|
|
2007-09-30 16:29:21 +00:00
|
|
|
}
|
|
|
|
|
2008-12-12 11:01:07 +00:00
|
|
|
void pcm_dma_apply_settings(void)
|
2007-09-30 16:29:21 +00:00
|
|
|
{
|
2007-10-13 14:53:34 +00:00
|
|
|
}
|
2007-09-20 04:46:41 +00:00
|
|
|
|
2007-10-13 14:53:34 +00:00
|
|
|
void pcm_play_dma_start(const void *addr, size_t size)
|
|
|
|
{
|
|
|
|
(void) addr;
|
|
|
|
(void) size;
|
2007-09-30 16:29:21 +00:00
|
|
|
}
|
2007-09-20 04:46:41 +00:00
|
|
|
|
2007-09-30 16:29:21 +00:00
|
|
|
void pcm_play_dma_stop(void)
|
|
|
|
{
|
2007-09-20 04:46:41 +00:00
|
|
|
|
|
|
|
}
|
2007-09-30 16:29:21 +00:00
|
|
|
|
2007-10-13 14:53:34 +00:00
|
|
|
void pcm_play_lock(void)
|
2007-09-30 16:29:21 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2007-10-13 14:53:34 +00:00
|
|
|
void pcm_play_unlock(void)
|
2007-09-30 16:29:21 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2007-10-13 14:53:34 +00:00
|
|
|
void pcm_play_dma_pause(bool pause)
|
2007-09-30 16:29:21 +00:00
|
|
|
{
|
2007-10-13 14:53:34 +00:00
|
|
|
(void) pause;
|
2007-09-30 16:29:21 +00:00
|
|
|
}
|
|
|
|
|
2007-10-13 14:53:34 +00:00
|
|
|
size_t pcm_get_bytes_waiting(void)
|
2007-09-30 16:29:21 +00:00
|
|
|
{
|
2007-10-13 14:53:34 +00:00
|
|
|
return 0;
|
|
|
|
}
|