forked from len0rd/rockbox
Should clear up rest of red. Add a required #define in the config for c200. Fix up some preprocessing directives. Hope it's all taken care of now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27141 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c3eca575b6
commit
e0bb92f00f
4 changed files with 14 additions and 4 deletions
|
|
@ -22,6 +22,7 @@
|
|||
#include <SDL_audio.h>
|
||||
#include "config.h"
|
||||
#include "audiohw.h"
|
||||
#include "pcm_sampr.h"
|
||||
|
||||
/**
|
||||
* Audio Hardware api. Make them do nothing as we cannot properly simulate with
|
||||
|
|
@ -162,10 +163,12 @@ void audiohw_set_eq_band_width(unsigned int band, int value)
|
|||
void audiohw_set_depth_3d(int value)
|
||||
{ (void)value; }
|
||||
#endif
|
||||
#if defined(HAVE_SAMPR_TYPE_REC)
|
||||
unsigned int pcm_sampr_type_rec_to_play(int samplerate)
|
||||
#ifdef HAVE_RECORDING
|
||||
#if SAMPR_TYPE_REC != 0
|
||||
unsigned int pcm_sampr_type_rec_to_play(unsigned int samplerate)
|
||||
{ return samplerate; }
|
||||
#endif
|
||||
#endif /* HAVE_RECORDING */
|
||||
#if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F)
|
||||
int mas_codec_readreg(int reg)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue