From cd3b46dd020034035047d23dc0dfe8db310679d5 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 7 Sep 2006 00:04:29 +0000 Subject: [PATCH] revert oops git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2539 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/codecs/mod_l16/mod_l16.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/mod/codecs/mod_l16/mod_l16.c b/src/mod/codecs/mod_l16/mod_l16.c index 6bc4eea398..a52d557096 100644 --- a/src/mod/codecs/mod_l16/mod_l16.c +++ b/src/mod/codecs/mod_l16/mod_l16.c @@ -195,11 +195,11 @@ static const switch_codec_implementation_t raw_8k_60ms_implementation = { /*.ianacode */ 10, /*.iananame */ "L16", /*.samples_per_second */ 8000, - /*.bits_per_second */ 128000, - /*.microseconds_per_frame */ 22500, - /*.samples_per_frame */ 180, - /*.bytes_per_frame */ 360, - /*.encoded_bytes_per_frame */ 360, + /*.bits_per_second */ 256000, + /*.microseconds_per_frame */ 60000, + /*.samples_per_frame */ 480, + /*.bytes_per_frame */ 960, + /*.encoded_bytes_per_frame */ 960, /*.number_of_channels */ 1, /*.pref_frames_per_packet */ 1, /*.max_frames_per_packet */ 1, @@ -230,6 +230,7 @@ static const switch_codec_implementation_t raw_8k_120ms_implementation = { /*.next */ &raw_8k_60ms_implementation }; + static const switch_codec_interface_t raw_codec_interface = { /*.interface_name */ "raw signed linear (16 bit)", /*.implementations */ &raw_8k_120ms_implementation