Add support for AM to libmobile and libsdr

This commit is contained in:
Andreas Eversberg
2019-12-05 17:24:30 +01:00
parent c2f14834e5
commit 150a77b69d
26 changed files with 121 additions and 52 deletions

View File

@@ -52,6 +52,7 @@ endif
if HAVE_SDR
imts_LDADD += \
$(top_builddir)/src/libsdr/libsdr.a \
$(top_builddir)/src/libam/libam.a \
$(top_builddir)/src/libfft/libfft.a \
$(UHD_LIBS) \
$(SOAPY_LIBS)

View File

@@ -307,7 +307,7 @@ int main(int argc, char *argv[])
#ifdef HAVE_ALSA
/* init sound */
audio = sound_open(audiodev, NULL, NULL, 1, 0.0, samplerate, latspl, 1.0, 4000.0);
audio = sound_open(audiodev, NULL, NULL, NULL, 1, 0.0, samplerate, latspl, 1.0, 4000.0, 2.0);
if (!audio) {
PDEBUG(DBNETZ, DEBUG_ERROR, "No sound device!\n");
goto exit;