stereo refactoring

This commit is contained in:
Anthony Minessale
2014-06-13 01:49:10 -04:00
parent 56ef59e9ad
commit 4ffbf23ffa
10 changed files with 109 additions and 44 deletions
+2 -1
View File
@@ -264,7 +264,8 @@ SWITCH_DECLARE(payload_map_t *) switch_core_media_add_payload_map(switch_core_se
switch_sdp_type_t sdp_type,
uint32_t pt,
uint32_t rate,
uint32_t ptime,
uint32_t ptime,
uint32_t channels,
uint8_t negotiated);
+2
View File
@@ -61,6 +61,8 @@ SWITCH_BEGIN_EXTERN_C
uint32_t samples;
/*! the rate of the frame */
uint32_t rate;
/*! the number of channels in the frame */
uint32_t channels;
/*! the payload of the frame */
switch_payload_t payload;
/*! the timestamp of the frame */
+1 -1
View File
@@ -117,7 +117,7 @@ SWITCH_DECLARE(switch_endpoint_interface_t *) switch_loadable_module_get_endpoin
*/
SWITCH_DECLARE(switch_codec_interface_t *) switch_loadable_module_get_codec_interface(const char *name);
SWITCH_DECLARE(char *) switch_parse_codec_buf(char *buf, uint32_t *interval, uint32_t *rate, uint32_t *bit);
SWITCH_DECLARE(char *) switch_parse_codec_buf(char *buf, uint32_t *interval, uint32_t *rate, uint32_t *bit, uint32_t *channels);
/*!
\brief Retrieve the dialplan interface by it's registered name