diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-11-21 22:02:06 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-11-21 22:02:06 +0000 |
commit | 28ecf9b6d17b79c4b009aabf7b361a0ea734dd51 (patch) | |
tree | 998841473c7108be551852a202510545f98073bb /apps/plugins/pitch_detector.c | |
parent | f99b896017cf8d4ac2998377b40a6c839a1bd91c (diff) | |
download | rockbox-28ecf9b6d17b79c4b009aabf7b361a0ea734dd51.tar.gz rockbox-28ecf9b6d17b79c4b009aabf7b361a0ea734dd51.zip |
Use MEM_ALIGN_ATTR in pitch detector plugin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28636 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pitch_detector.c')
-rw-r--r-- | apps/plugins/pitch_detector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/pitch_detector.c b/apps/plugins/pitch_detector.c index db1397207e..ed3ff6413d 100644 --- a/apps/plugins/pitch_detector.c +++ b/apps/plugins/pitch_detector.c @@ -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? */ /* It's stereo, so make the buffer twice as big */ #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; #ifdef PLUGIN_USE_IRAM static int16_t iram_audio_data[BUFFER_SIZE] IBSS_ATTR; |