kgwhitmer / rpms / gnuradio

Forked from rpms/gnuradio 2 years ago
Clone
Blob Blame History Raw
diff -up gnuradio-3.7.3/gr-vocoder/lib/CMakeLists.txt~ gnuradio-3.7.3/gr-vocoder/lib/CMakeLists.txt
--- gnuradio-3.7.3/gr-vocoder/lib/CMakeLists.txt~	2013-06-30 03:05:51.000000000 +0300
+++ gnuradio-3.7.3/gr-vocoder/lib/CMakeLists.txt	2014-03-16 13:56:08.728983153 +0200
@@ -79,12 +79,12 @@ endif(MSVC)
 ########################################################################
 GR_INCLUDE_SUBDIRECTORY(codec2)
 GR_INCLUDE_SUBDIRECTORY(g7xx)
-GR_INCLUDE_SUBDIRECTORY(gsm)
 
 list(APPEND vocoder_libs
     gnuradio-runtime
     ${Boost_LIBRARIES}
     ${LOG4CPP_LIBRARIES}
+    gsm
 )
 
 add_library(gnuradio-vocoder SHARED ${gr_vocoder_sources})
diff -up gnuradio-3.7.3/gr-vocoder/lib/gsm_fr_decode_ps_impl.cc~ gnuradio-3.7.3/gr-vocoder/lib/gsm_fr_decode_ps_impl.cc
--- gnuradio-3.7.3/gr-vocoder/lib/gsm_fr_decode_ps_impl.cc~	2013-06-30 03:05:51.000000000 +0300
+++ gnuradio-3.7.3/gr-vocoder/lib/gsm_fr_decode_ps_impl.cc	2014-03-16 14:34:42.850165603 +0200
@@ -29,6 +29,8 @@
 #include <stdexcept>
 #include <assert.h>
 
+#define GSM_SAMPLES_PER_FRAME 160
+
 namespace gr {
   namespace vocoder {
 
diff -up gnuradio-3.7.3/gr-vocoder/lib/gsm_fr_encode_sp_impl.cc~ gnuradio-3.7.3/gr-vocoder/lib/gsm_fr_encode_sp_impl.cc
--- gnuradio-3.7.3/gr-vocoder/lib/gsm_fr_encode_sp_impl.cc~	2014-03-07 20:28:19.000000000 +0200
+++ gnuradio-3.7.3/gr-vocoder/lib/gsm_fr_encode_sp_impl.cc	2014-03-16 14:41:43.520202465 +0200
@@ -28,6 +28,8 @@
 #include <gnuradio/io_signature.h>
 #include <stdexcept>
 
+#define GSM_SAMPLES_PER_FRAME 160
+
 namespace gr {
   namespace vocoder {