forked from len0rd/rockbox
Use MEM_ALIGN_ATTR in pitch detector plugin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28636 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f99b896017
commit
28ecf9b6d1
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ static int audio_head = 0; /* which of the two buffers to use? */
|
||||||
static volatile int audio_tail = 0; /* which of the two buffers to record? */
|
static volatile int audio_tail = 0; /* which of the two buffers to record? */
|
||||||
/* It's stereo, so make the buffer twice as big */
|
/* It's stereo, so make the buffer twice as big */
|
||||||
#ifndef SIMULATOR
|
#ifndef SIMULATOR
|
||||||
static int16_t audio_data[2][BUFFER_SIZE] __attribute__((aligned(CACHEALIGN_SIZE)));
|
static int16_t audio_data[2][BUFFER_SIZE] MEM_ALIGN_ATTR;
|
||||||
static fixed yin_buffer[YIN_BUFFER_SIZE] IBSS_ATTR;
|
static fixed yin_buffer[YIN_BUFFER_SIZE] IBSS_ATTR;
|
||||||
#ifdef PLUGIN_USE_IRAM
|
#ifdef PLUGIN_USE_IRAM
|
||||||
static int16_t iram_audio_data[BUFFER_SIZE] IBSS_ATTR;
|
static int16_t iram_audio_data[BUFFER_SIZE] IBSS_ATTR;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue