git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4716 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2007-03-21 18:50:51 +00:00
parent 2da36dea17
commit 573058c6d3
3 changed files with 30 additions and 1 deletions
+8
View File
@@ -154,6 +154,14 @@ SWITCH_DECLARE(int) switch_short_to_float(short *s, float *f, int len);
*/
SWITCH_DECLARE(void) switch_swap_linear(int16_t *buf, int len);
/*!
\brief Generate static noise
\param data the audio data buffer
\param samples the number of 2 byte samples
\param divisor the volume factor
*/
SWITCH_DECLARE(void) switch_generate_sln_silence(int16_t *data, uint32_t samples, uint32_t divisor);
/*!
\brief Change the volume of a signed linear audio frame
\param data the audio data