mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 04:31:50 +00:00
stereo refactoring
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user