[Freeswitch-svn] [commit] r12157 - freeswitch/trunk/libs/libteletone/src
FreeSWITCH SVN
mikej at freeswitch.org
Wed Feb 18 21:06:04 PST 2009
Author: mikej
Date: Wed Feb 18 23:06:04 2009
New Revision: 12157
Log:
fix suncc visibility support
Modified:
freeswitch/trunk/libs/libteletone/src/libteletone_generate.c
freeswitch/trunk/libs/libteletone/src/libteletone_generate.h
Modified: freeswitch/trunk/libs/libteletone/src/libteletone_generate.c
==============================================================================
--- freeswitch/trunk/libs/libteletone/src/libteletone_generate.c (original)
+++ freeswitch/trunk/libs/libteletone/src/libteletone_generate.c Wed Feb 18 23:06:04 2009
@@ -79,7 +79,7 @@
#pragma warning(disable:4706)
#endif
-int16_t TELETONE_SINES[SINE_TABLE_MAX] = {
+TELETONE_API int16_t TELETONE_SINES[SINE_TABLE_MAX] = {
0x00c9, 0x025b, 0x03ed, 0x057f, 0x0711, 0x08a2, 0x0a33, 0x0bc4,
0x0d54, 0x0ee4, 0x1073, 0x1201, 0x138f, 0x151c, 0x16a8, 0x1833,
0x19be, 0x1b47, 0x1cd0, 0x1e57, 0x1fdd, 0x2162, 0x22e5, 0x2467,
Modified: freeswitch/trunk/libs/libteletone/src/libteletone_generate.h
==============================================================================
--- freeswitch/trunk/libs/libteletone/src/libteletone_generate.h (original)
+++ freeswitch/trunk/libs/libteletone/src/libteletone_generate.h Wed Feb 18 23:06:04 2009
@@ -137,7 +137,7 @@
/* 3.02 represents twice the power */
#define DBM0_MAX_POWER (3.14f + 3.02f)
-extern int16_t TELETONE_SINES[SINE_TABLE_MAX];
+TELETONE_API extern int16_t TELETONE_SINES[SINE_TABLE_MAX];
static __inline__ int32_t teletone_dds_phase_rate(teletone_process_t tone, uint32_t rate)
{
More information about the Freeswitch-svn
mailing list