]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
spandsp should now compile in fixed point mode, although the performance of
authorSteve Underwood <steveu@coppice.org>
Mon, 15 Oct 2012 15:29:33 +0000 (23:29 +0800)
committerSteve Underwood <steveu@coppice.org>
Mon, 15 Oct 2012 15:29:33 +0000 (23:29 +0800)
the modems will still suck on a fixed point machine.

libs/spandsp/src/spandsp/private/v17rx.h

index f25007e9eadc2e68d11c82d8aa69af78add9c2e0..9f22208e8098c0c6c7fea11bc403000a945a13ea 100644 (file)
@@ -71,7 +71,7 @@ struct v17_rx_state_s
                routine. */
     void *qam_user_data;
 
-#if defined(SPANDSP_USE_FIXED_POINT)
+#if defined(SPANDSP_USE_FIXED_POINTx)
     /*! \brief The scaling factor assessed by the AGC algorithm. */
     int16_t agc_scaling;
     /*! \brief The previous value of agc_scaling, needed to reuse old training. */
@@ -218,7 +218,7 @@ struct v17_rx_state_s
     int full_path_to_past_state_locations[V17_TRELLIS_STORAGE_DEPTH][8];
     /*! \brief The trellis. */
     int past_state_locations[V17_TRELLIS_STORAGE_DEPTH][8];
-#if defined(SPANDSP_USE_FIXED_POINT)
+#if defined(SPANDSP_USE_FIXED_POINTx)
     /*! \brief Euclidean distances (actually the squares of the distances)
                from the last states of the trellis. */
     uint32_t distances[8];