summaryrefslogtreecommitdiffstats
path: root/firmware/pcm_mixer.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2012-01-04 11:03:15 +0000
committerMichael Sevakis <jethead71@rockbox.org>2012-01-04 11:03:15 +0000
commit395334e876bc5181d554402e72beba2c0ea5b477 (patch)
treee09c3bc2d605a2597b8b7aa8d74881c43dc0d8ae /firmware/pcm_mixer.c
parent12805691066052e053e4a11fe14bbd98389ec99c (diff)
downloadrockbox-395334e876bc5181d554402e72beba2c0ea5b477.tar.gz
rockbox-395334e876bc5181d554402e72beba2c0ea5b477.tar.bz2
rockbox-395334e876bc5181d554402e72beba2c0ea5b477.zip
PCM mixer: Get rid of an obsolete macro cruft.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31577 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/pcm_mixer.c')
-rw-r--r--firmware/pcm_mixer.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/firmware/pcm_mixer.c b/firmware/pcm_mixer.c
index 3194f76e04..25c41c2586 100644
--- a/firmware/pcm_mixer.c
+++ b/firmware/pcm_mixer.c
@@ -70,11 +70,6 @@ static struct mixer_channel * active_channels[PCM_MIXER_NUM_CHANNELS+1] IBSS_ATT
#define MAX_IDLE_FRAMES (NATIVE_FREQUENCY*3 / MIX_FRAME_SAMPLES)
static unsigned int idle_counter = 0;
-/* Cheapo buffer align macro to align to the 16-16 PCM size */
-#define ALIGN_CHANNEL(start, size) \
- ({ start = (void *)(((uintptr_t)start + 3) & ~3); \
- size &= ~3; })
-
#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
/* Include any implemented CPU-optimized mixdown routines */