forked from len0rd/rockbox
[FixRed] Reove HAVE_PITCHCONTROL from bootloaders, fix warble
Change-Id: I85a3580bd5fac881ca36efc260791d03f0b8c83a
This commit is contained in:
parent
af859acf04
commit
02c256565f
3 changed files with 5 additions and 3 deletions
|
|
@ -1364,7 +1364,9 @@ Lyre prototype 1 */
|
|||
#define HAVE_PCM_FULL_DUPLEX
|
||||
#endif
|
||||
|
||||
#if !defined(BOOTLOADER)
|
||||
#define HAVE_PITCHCONTROL
|
||||
#endif
|
||||
|
||||
/* enable logging messages to disk*/
|
||||
#if !defined(BOOTLOADER) && !defined(__PCTOOL__)
|
||||
|
|
|
|||
|
|
@ -637,7 +637,7 @@ void sound_set_pitch(int32_t pitch)
|
|||
|
||||
audiohw_set_pitch(pitch);
|
||||
/* filter out invalid by grabbing the value actually set */
|
||||
global_status.resume_pitch = dsp_get_pitch();
|
||||
global_status.resume_pitch = audiohw_get_pitch();
|
||||
}
|
||||
|
||||
int32_t sound_get_pitch(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue