I forgot to tell, I'm using the API under linux (Debian etch 4.0), maybe its different under windows. regards, Thiago > Hi all, > > I just got the trunk version of the api (I think its > r1629) I had some trouble with > pjmedia_wav_player_port_create. The audio in the wav > gets very bad. I am using the default ptime (put > zero > in there) that translates to 20 ms in wav_player.c > (line 205). pjsua_player_create works fine, so I > looked in the function pjsua_player_create and it > uses > as ptime the value > pjsua_var.mconf_cfg.samples_per_frame *1000 / > pjsua_var.media_cfg.clock_rate that is equal to 10. > So > if use this value it works fine, but the default > (20) > gives a bad audio. The previous version of the api > that I have here ( pjproject-0.8.0.tar.gz downloaded > from http://www.pjsip.org/download.htm)is working > fine > with a ptime of 20 ms. > > Has anyone had this problem so far? Is there any > changes in the way this function works now? > > Thanks for all help, > > Thiago > > > Abra sua conta no Yahoo! Mail, o ?nico sem > limite de espa?o para armazenamento! > http://br.mail.yahoo.com/ > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > Abra sua conta no Yahoo! Mail, o ?nico sem limite de espa?o para armazenamento! http://br.mail.yahoo.com/