]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix suncc visibility support in libteletone
authorMichael Jerris <mike@jerris.com>
Thu, 19 Feb 2009 04:57:50 +0000 (04:57 +0000)
committerMichael Jerris <mike@jerris.com>
Thu, 19 Feb 2009 04:57:50 +0000 (04:57 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12155 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/libteletone/src/libteletone_detect.h

index 359fbb89bc27c7c76d6235f46264dacc131b33fc..d8c47136ba431b96513cc2aced432109eafebcf5 100644 (file)
@@ -202,7 +202,7 @@ extern "C" {
          \param mt the multi-frequency tone descriptor
          \param map a representation of the multi-frequency tone
        */
-       void teletone_multi_tone_init(teletone_multi_tone_t *mt, teletone_tone_map_t *map);
+TELETONE_API void teletone_multi_tone_init(teletone_multi_tone_t *mt, teletone_tone_map_t *map);
 
        /*! 
          \brief Check a sample buffer for the presence of the mulit-frequency tone described by mt
@@ -211,7 +211,7 @@ extern "C" {
          \param samples the number of samples present in sample_buffer
          \return true when the tone was detected or false when it is not
        */
-       int teletone_multi_tone_detect (teletone_multi_tone_t *mt,
+TELETONE_API int teletone_multi_tone_detect (teletone_multi_tone_t *mt,
                                                                        int16_t sample_buffer[],
                                                                        int samples);
 
@@ -220,7 +220,7 @@ extern "C" {
          \param dtmf_detect_state the DTMF detection state to initilize
          \param sample_rate the desired sample rate
        */
-       void teletone_dtmf_detect_init (teletone_dtmf_detect_state_t *dtmf_detect_state, int sample_rate);
+TELETONE_API void teletone_dtmf_detect_init (teletone_dtmf_detect_state_t *dtmf_detect_state, int sample_rate);
 
        /*! 
          \brief Check a sample buffer for the presence of DTMF digits
@@ -229,7 +229,7 @@ extern "C" {
          \param samples the number of samples present in sample_buffer
          \return true when DTMF was detected or false when it is not
        */
-       int teletone_dtmf_detect (teletone_dtmf_detect_state_t *dtmf_detect_state,
+TELETONE_API int teletone_dtmf_detect (teletone_dtmf_detect_state_t *dtmf_detect_state,
                                                          int16_t sample_buffer[],
                                                          int samples);
        /*! 
@@ -239,7 +239,7 @@ extern "C" {
          \param max the maximum length of buf
          \return the number of characters written to buf
        */
-       int teletone_dtmf_get (teletone_dtmf_detect_state_t *dtmf_detect_state,
+TELETONE_API int teletone_dtmf_get (teletone_dtmf_detect_state_t *dtmf_detect_state,
                                                   char *buf,
                                                   int max);
 
@@ -249,7 +249,7 @@ extern "C" {
          \param sample_buffer an array aof 16 bit signed linear samples
          \param samples the number of samples present in sample_buffer
        */
-       void teletone_goertzel_update(teletone_goertzel_state_t *goertzel_state,
+TELETONE_API void teletone_goertzel_update(teletone_goertzel_state_t *goertzel_state,
                                                                  int16_t sample_buffer[],
                                                                  int samples);