Re: [Alsa-devel] Request for tests: scatter-gather dma support on via686 and emu10k1

2002-07-30 Thread Takashi Iwai

At 23 Jul 2002 19:18:53 +0200,
Santiago Otero wrote:
> 
> El mar, 23-07-2002 a las 11:21, Takashi Iwai escribi�:
> 
> > 
> > ok, could you show me the values listed in the proc file above during
> > playback/record?
> > i guess the buffer size is not aligned to the period size, and the
> > number of period is relatively small.
> > 
> 
> playing sound:
> 
> $cat /proc/asound/card0/pcm0p/sub0/hw_params 
> access: RW_INTERLEAVED
> format: S16_LE
> subformat: STD
> channels: 2
> rate: 44100 (44100/1)
> period_size: 16
> buffer_size: 16384
> tick_time: 1

i guess you didn't set up the period size in your application
explicitly, right?
that's why it gives so small value.

on the previous driver, there was a constraint about the period and
the buffer sizes, and perhaps this increased the minimum period size
eventually.
this constraint was disabled for the time being, because this likely
conflicts with the new constraint, period size = power of two.


Takashi


---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel



Re: [Alsa-devel] Request for tests: scatter-gather dma support on via686 and emu10k1

2002-07-23 Thread Takashi Iwai

At 22 Jul 2002 18:21:57 +0200,
Santiago Otero wrote:
> 
> El lun, 22-07-2002 a las 13:24, Takashi Iwai escribió:
>
> > this might be related with the period size restriction.
> > how did you set the period size?
> > please check /proc/asound/card0/pcm0p/sub0/hw_params and
> > which condition is used.
> > 
> > 
> I was using default period size. Setting period size to 1024 makes my
> application work again.

ok, could you show me the values listed in the proc file above during
playback/record?
i guess the buffer size is not aligned to the period size, and the
number of period is relatively small.


Takashi


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel