[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Openvortex-dev] DMA buffer constraints (no more clicks)
From: |
Jeff Muizelaar |
Subject: |
Re: [Openvortex-dev] DMA buffer constraints (no more clicks) |
Date: |
Thu, 3 Jul 2003 21:11:41 -0400 (EDT) |
On 1 Jul 2003, Manuel Jander wrote:
> Hello,
>
> Adding the following lines to the "open" callback in au88x0_pcm.c
> should eliminate clicks. It prevents wrong period sizes.
Should but appears not to :)
aplay -v -B 100660 [soundfile @ 48kHz]
still produces clicks or some such noise for me...
I am wondering why.... Nothing obvious strikes me.
> Know as i think about it, it semes quite obvious. If a period isnt a
> multiple of a frame size, at least one frame gets cut in 2 pieces when
> crossing the period boundary. Being a hardware guy, i wouldn't expect
> the Aureal chips to reassemble a split frame ;)
Yes I agree.
> This how it should be. I didnt upload it to CVS, because some programs
> like aplay just give up on playback if the period size the want can't be
> granted. I don't know how to solve that now; thats aplay's fault in my
> opinion.
> The ice1724 driver does basically the same (for reference).
> Any comments a greatly appreciated.
The approach looks perfectly fine, and I agree we don't have to worry
about aplay failing.
-Jeff