[Freeswitch-dev] Codec and Audio Device Sample Rate

Esben Stien b0ef at esben-stien.name
Fri Jul 13 21:45:30 EDT 2007

I'm a little puzzled.

In the portaudio.conf.xml file there is: 

<param name="sample-rate" value="96000"/>

I can only open my device in 96kHz, so when I change this value, it
manages to open my audio device, but then it complains that it also
wants a codec for 96kHz:

freeswitch at quasar> 2007-07-14 03:03:23 [NOTICE] switch_channel.c:385 switch_channel_set_name() New Chan PortAudio/con at sip.esben-stien.name [789295e0-d279-4dbd-8007-19d0795b1488]
2007-07-14 03:03:23 [WARNING] switch_core_codec.c:159 switch_core_codec_init() Codec L16 Exists but not at the desired implementation. 96000hz 20ms
2007-07-14 03:03:23 [ERR] mod_portaudio.c:1210 engage_device() Can't load codec?
2007-07-14 03:03:23 [NOTICE] mod_portaudio.c:1625 place_call() Close Channel PortAudio/con at sip.esben-stien.name [CS_NEW]

There is supposed to be one sample rate for the device and one for the
codec, but what it does now, is use one for both the codec and the
audio device, which is wrong. 

Any pointers as to what I can try?.

Esben Stien is b0ef at e     s      a             
         http://www. s     t    n m
          irc://irc.  b  -  i  .   e/%23contact
           sip:b0ef@   e     e 
           jid:b0ef@    n     n

More information about the Freeswitch-dev mailing list