Complete commit: "Make Alsa sound interface independent from libmobile"

This commit is contained in:
Andreas Eversberg 2024-05-04 11:12:14 +02:00 committed by Andreas Eversberg
parent 96cd937f9d
commit 6540302a06
4 changed files with 17 additions and 0 deletions

View File

@ -58,6 +58,8 @@ AS_IF([test "x$with_alsa" != "xyes" -a "x$with_sdr" != "xyes"],[AC_MSG_NOTICE( W
SOAPY_CFLAGS="$soapy_0_8_0_or_higher"
AM_CONDITIONAL(HAVE_MOBILE, true)
AC_CONFIG_FILES([src/liblogging/Makefile
src/liboptions/Makefile
src/libmobile/Makefile

View File

@ -661,3 +661,6 @@ error:
void osmo_cc_set_log_cat(int __attribute__((unused)) cc_log_cat) {}
void *get_sender_by_empfangsfrequenz(void);
void *get_sender_by_empfangsfrequenz(void) { return NULL; }

View File

@ -6,3 +6,8 @@ libsound_a_SOURCES = \
sound_alsa.c
AM_CPPFLAGS += -DHAVE_ALSA
if HAVE_MOBILE
AM_CPPFLAGS += -DHAVE_MOBILE
endif

View File

@ -367,4 +367,11 @@ done:
void osmo_cc_set_log_cat(int __attribute__((unused)) cc_log_cat) {}
void display_measurements_add(void);
void *display_measurements_update(void);
void *get_sender_by_empfangsfrequenz(void);
void display_measurements_add(void) {}
void *display_measurements_update(void) { return NULL; }
void *get_sender_by_empfangsfrequenz(void) { return NULL; }
#endif /* ARDUINO */