mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 06:34:19 +00:00
tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7974 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
8592c5d822
commit
be1bbc63d2
3 files changed
+4
-8
No files matched your search
@@ -45,7 +45,7 @@ SWITCH_BEGIN_EXTERN_C
|
||||
#define SWITCH_SMAX 32767
|
||||
#define SWITCH_SMIN -32768
|
||||
#define switch_normalize_to_16bit(n) if (n > SWITCH_SMAX) n = SWITCH_SMAX / 2; else if (n < SWITCH_SMIN) n = SWITCH_SMIN / 2;
|
||||
#define switch_codec2str(codec,buf,len) snprintf(buf, len, "%s@%uk@%ui", \
|
||||
#define switch_codec2str(codec,buf,len) snprintf(buf, len, "%s@%uh@%ui", \
|
||||
codec->implementation->iananame, \
|
||||
codec->implementation->samples_per_second, \
|
||||
codec->implementation->microseconds_per_frame / 1000)
|
||||
|
||||
Reference in new issue
Block a user