Skip to content

Commit

Permalink
audio_filter: fix no-NEON ARM builds
Browse files Browse the repository at this point in the history
  • Loading branch information
tguillem committed Aug 27, 2015
1 parent 147717d commit 64011db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions modules/audio_filter/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@ libtrivial_channel_mixer_plugin_la_SOURCES = \
audio_filter/channel_mixer/trivial.c
libsimple_channel_mixer_plugin_la_SOURCES = \
audio_filter/channel_mixer/simple.c
libsimple_channel_mixer_plugin_la_CFLAGS =
if HAVE_NEON
libsimple_channel_mixer_plugin_la_SOURCES += arm_neon/simple_channel_mixer.S
libsimple_channel_mixer_plugin_la_CFLAGS += -DCAN_COMPILE_ARM
endif

audio_filter_LTLIBRARIES += \
Expand Down
2 changes: 1 addition & 1 deletion modules/audio_filter/channel_mixer/simple.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ static void DoWork_6_1_to_5_x( filter_t * p_filter, block_t * p_in_buf, block_t
}
}

#if defined (__arm__)
#if defined (CAN_COMPILE_ARM)
#include "simple_neon.h"
#define GET_WORK(in, out) GET_WORK_##in##_to_##out##_neon()
#else
Expand Down

0 comments on commit 64011db

Please sign in to comment.