Complete commit: "Make Alsa sound interface independent from libmobile"
This commit is contained in:
committed by
Andreas Eversberg
parent
96cd937f9d
commit
6540302a06
@@ -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"
|
SOAPY_CFLAGS="$soapy_0_8_0_or_higher"
|
||||||
|
|
||||||
|
AM_CONDITIONAL(HAVE_MOBILE, true)
|
||||||
|
|
||||||
AC_CONFIG_FILES([src/liblogging/Makefile
|
AC_CONFIG_FILES([src/liblogging/Makefile
|
||||||
src/liboptions/Makefile
|
src/liboptions/Makefile
|
||||||
src/libmobile/Makefile
|
src/libmobile/Makefile
|
||||||
|
@@ -661,3 +661,6 @@ error:
|
|||||||
|
|
||||||
void osmo_cc_set_log_cat(int __attribute__((unused)) cc_log_cat) {}
|
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; }
|
||||||
|
|
||||||
|
@@ -6,3 +6,8 @@ libsound_a_SOURCES = \
|
|||||||
sound_alsa.c
|
sound_alsa.c
|
||||||
|
|
||||||
AM_CPPFLAGS += -DHAVE_ALSA
|
AM_CPPFLAGS += -DHAVE_ALSA
|
||||||
|
|
||||||
|
if HAVE_MOBILE
|
||||||
|
AM_CPPFLAGS += -DHAVE_MOBILE
|
||||||
|
endif
|
||||||
|
|
||||||
|
@@ -367,4 +367,11 @@ done:
|
|||||||
|
|
||||||
void osmo_cc_set_log_cat(int __attribute__((unused)) cc_log_cat) {}
|
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 */
|
#endif /* ARDUINO */
|
||||||
|
Reference in New Issue
Block a user