forked from len0rd/rockbox
Make disabling HAVE_PITCHSCREEN actually work without breaking the build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28102 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bd43690170
commit
f366090562
12 changed files with 51 additions and 14 deletions
|
@ -483,7 +483,9 @@ static void audio_thread(void)
|
|||
|
||||
td.dsp = (struct dsp_config *)rb->dsp_configure(NULL, DSP_MYDSP,
|
||||
CODEC_IDX_AUDIO);
|
||||
#ifdef HAVE_PITCHSCREEN
|
||||
rb->sound_set_pitch(PITCH_SPEED_100);
|
||||
#endif
|
||||
rb->dsp_configure(td.dsp, DSP_RESET, 0);
|
||||
rb->dsp_configure(td.dsp, DSP_SET_SAMPLE_DEPTH, MAD_F_FRACBITS);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue