Hello,

On Thu, 8 Sep 2005 20:07:05 +0200
Simon Morlat <[EMAIL PROTECTED]> wrote:

> As I said before, it's perhaps a problem with the alsa driver. Can you check 
> with another pci well known card ?

I can't because the AC97 chip is onboard. (embedded board)
I posted several things into the alsa mailinglist and experimented a lot.
After that I'm sure that it is a linphone problem. I run linphone and sipomatic
in parallel and logged the status of the PCM and MIXER device. (see attachment)
As you can see there are XRUNS. I played around with the buffer settings in the
linphone code and could produce a sound but it's much to quick (rate problem?)
and not continious. (buffer problem?)
Aplay works okay without any problems. I appended the log, too.

Regards
- Marcel

> Le Mardi 6 Septembre 2005 19:07, Marcel Karras a écrit :
> > Hello,
> >
> > On Thu, 1 Sep 2005 17:30:15 +0200 (CEST)
> >
> > "Marcel Karras" <[EMAIL PROTECTED]> wrote:
> > > I can play sounds with aplay normally and linphone states having found
> > > alsa, too.
> >
> > does linphone support ALSA version 1.0.9? It's quite strange: _all_
> > ALSA-Utils programs are working perfectly but linphone doesn't
> > produce any sound. I'm about to look closer to the source in order to
> > compare it to the already working programs. Something seems to be
> > buggy or misconfigured. I don't know if ALSA is the problem or linphone.
> > In addition: With mpg321 I get various "Buffer Underruns". I just
> > posted to the ALSA mailinglist in order to get specific support.
> > Is anyone of you working with kernel >=2.6.11 and ALSA lib version
> > 1.0.9? I'll keep you up to date if I can find further infos.
> >
> > Greetings
> > - Marcel Karras
> 
> 


-- 
------------------------------------------------------------------------
Contact: [EMAIL PROTECTED]   [EMAIL PROTECTED]
http://www.freebits.de      http://www.tu-chemnitz.de 
Unix, Linux && OpenSource   Student of Chemnitz University of Technology
------------------------------------------------------------------------


access: MMAP_INTERLEAVED					access: MMAP_INTERLEAVED
format: S16_LE							format: S16_LE
subformat: STD							subformat: STD
channels: 2							channels: 2
rate: 8000 (8000/1)						rate: 8000 (8000/1)
period_size: 1000						period_size: 1000
buffer_size: 8000						buffer_size: 8000
tick_time: 1000							tick_time: 1000
card: 0								card: 0
device: 0							device: 0
subdevice: 0							subdevice: 0
stream: CAPTURE						      |	stream: PLAYBACK
id: AU1000 AC97 PCM						id: AU1000 AC97 PCM
name: Au1000 AC97 PCM						name: Au1000 AC97 PCM
subname: subdevice #0						subname: subdevice #0
class: 0							class: 0
subclass: 0							subclass: 0
subdevices_count: 1						subdevices_count: 1
subdevices_avail: 0						subdevices_avail: 0
128								128
state: RUNNING							state: RUNNING
trigger_time: 1126082396.002709000			      |	trigger_time: 1126082397.048385000
tstamp      : 1126082598.140642000			      |	tstamp      : 1126082594.640132000
delay       : 935					      |	delay       : 6431
avail       : 935					      |	avail       : 1569
avail_max   : 2003					      |	avail_max   : 3000
-----								-----
hw_ptr      : 1616935					      |	hw_ptr      : 1580569
appl_ptr    : 1616000					      |	appl_ptr    : 1587000
tstamp_mode: NONE						tstamp_mode: NONE
period_step: 1							period_step: 1
sleep_min: 0							sleep_min: 0
avail_min: 1000							avail_min: 1000
xfer_align: 1000						xfer_align: 1000
start_threshold: 1					      |	start_threshold: 8000
stop_threshold: 8000						stop_threshold: 8000
silence_threshold: 0						silence_threshold: 0
silence_size: 0							silence_size: 0
boundary: 2097152000						boundary: 2097152000
access: RW_INTERLEAVED						access: RW_INTERLEAVED
format: S16_LE							format: S16_LE
subformat: STD							subformat: STD
channels: 1							channels: 1
rate: 8000 (8000/1)						rate: 8000 (8000/1)
period_size: 256						period_size: 256
buffer_size: 2048						buffer_size: 2048
tick_time: 1000							tick_time: 1000
card: 0								card: 0
device: 0							device: 0
subdevice: 0							subdevice: 0
stream: CAPTURE						      |	stream: PLAYBACK
id: AU1000 AC97 PCM						id: AU1000 AC97 PCM
name: Au1000 AC97 PCM						name: Au1000 AC97 PCM
subname: subdevice #0						subname: subdevice #0
class: 0							class: 0
subclass: 0							subclass: 0
subdevices_count: 1						subdevices_count: 1
subdevices_avail: 0						subdevices_avail: 0
128								128
state: RUNNING						      |	state: XRUN
trigger_time: 1126082056.185536000			      |	trigger_time: 1126082053.966602000
tstamp      : 1126082058.962186000			      |	tstamp      : 1126082053.978359000
delay       : 199					      |	delay       : 0
avail       : 199					      |	avail       : 2303
avail_max   : 659					      |	avail_max   : 2303
-----								-----
hw_ptr      : 22215					      |	hw_ptr      : 767
appl_ptr    : 22016					      |	appl_ptr    : 512
tstamp_mode: NONE						tstamp_mode: NONE
period_step: 1							period_step: 1
sleep_min: 0							sleep_min: 0
avail_min: 256							avail_min: 256
xfer_align: 256							xfer_align: 256
start_threshold: 1					      |	start_threshold: 512
stop_threshold: 2048						stop_threshold: 2048
silence_threshold: 0						silence_threshold: 0
silence_size: 0							silence_size: 0
boundary: 1073741824						boundary: 1073741824
_______________________________________________
Linphone-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/linphone-users

Reply via email to