At Thu, 20 Mar 2003 15:24:20 +0100 (CET),
Jaroslav wrote:
>
> On Thu, 20 Mar 2003, Giuliano Pochini wrote:
>
> >
> > >> Ok, but how do I build the sg list when bufsize!=sz*periods ? Take
> > >> the example above: have I to build 4 periods and let the last one
> > >> smaller than 22052 ?
> > >
>
>> Ok, but how do I build the sg list when bufsize!=sz*periods ? Take
>> the example above: have I to build 4 periods and let the last one
>> smaller than 22052 ?
>
> it depends on the hardware.
There are no hw constraints IFAIK, but the hw does not provide the
current dma address. It tells me ho
On Thu, 20 Mar 2003, Giuliano Pochini wrote:
>
> >> Ok, but how do I build the sg list when bufsize!=sz*periods ? Take
> >> the example above: have I to build 4 periods and let the last one
> >> smaller than 22052 ?
> >
> > it depends on the hardware.
>
> There are no hw constraints IFAIK, but t
At Thu, 20 Mar 2003 10:04:39 +0100 (CET),
Giuliano Pochini wrote:
>
>
> >> They are different:
> >>
> >> [aplay track.wav]
> >> Mar 19 19:21:23 localhost kernel: pcm_hw_params (bufsize=88200 periods=3
> >> persize=22052)
> >>
> >> bufsize==88200 != 3*22052 == 66156
> >
> > Note that there is no
>> They are different:
>>
>> [aplay track.wav]
>> Mar 19 19:21:23 localhost kernel: pcm_hw_params (bufsize=88200 periods=3
>> persize=22052)
>>
>> bufsize==88200 != 3*22052 == 66156
>
> Note that there is no guarantee that the periods == integer value.
> If your hardware doesn't allow to set peri
On 19 Mar 2003, Giuliano Pochini wrote:
> > > I'm facing another *Ł%@ problem. When period size is a multiple or
> > > submultiple of PAGE_SIZE, it works fine, but when it isn't, sound
> > > clicks, pops, repeapeapeats, skps :(( And since the period never crosses
> > > physically the page boundary
> > I'm facing another *£%@ problem. When period size is a multiple or
> > submultiple of PAGE_SIZE, it works fine, but when it isn't, sound
> > clicks, pops, repeapeapeats, skps :(( And since the period never crosses
> > physically the page boundary because I split it when it happens, I can't
> >
At 19 Mar 2003 12:24:30 +,
Giuliano Pochini wrote:
>
>
> I'm facing another *£%@ problem. When period size is a multiple or
> submultiple of PAGE_SIZE, it works fine, but when it isn't, sound
> clicks, pops, repeapeapeats, skps :(( And since the period never crosses
> physically the page boun
I'm facing another *£%@ problem. When period size is a multiple or
submultiple of PAGE_SIZE, it works fine, but when it isn't, sound
clicks, pops, repeapeapeats, skps :(( And since the period never crosses
physically the page boundary because I split it when it happens, I can't
imagine what's wron