1
0
Fork 0
forked from len0rd/rockbox

Allow e200 to compile without HAVE_RECORDING

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28104 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Frank Gevaerts 2010-09-17 20:42:45 +00:00
parent 95aae36c6c
commit d343bbe846
3 changed files with 34 additions and 4 deletions

View file

@ -364,7 +364,9 @@ void pcm_set_frequency(unsigned int samplerate)
int index;
#ifdef CONFIG_SAMPR_TYPES
#ifdef HAVE_RECORDING
unsigned int type = samplerate & SAMPR_TYPE_MASK;
#endif
samplerate &= ~SAMPR_TYPE_MASK;
#ifdef HAVE_RECORDING