[Freeswitch-dev] choppy sound with .wav file played in the background

Peter Olsson peter.olsson at visionutveckling.se
Tue Oct 25 13:00:53 MSD 2011


How do you mean when you say "in background"? Are ju running this command from another thread then the channel's own thread?

/Peter


-----Ursprungligt meddelande-----
Från: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] För Han Xin
Skickat: den 25 oktober 2011 10:53
Till: freeswitch-dev at lists.freeswitch.org
Ämne: [Freeswitch-dev] choppy sound with .wav file played in the background

Hi all, I have another question to ask again :P

When I use:

 switch_ivr_play_file(session, NULL, file_path, NULL);

to play a file such as "misc/8000/sorry.wav" directly, the sound is so choppy.

Am I doing the background sound playing the right way?

Han
--




_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
http://www.cluecon.com 877-7-4ACLUE

FreeSWITCH-dev mailing list
FreeSWITCH-dev at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org

!DSPAM:4ea6780b32761207110701!




Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev mailing list