Re: " Making DMA buffer resizeable depending on audio speed/format "

2001-09-16 Thread Cameron Grant
> > The sound driver interface provides the application writer the choice to set > > the buffering they require. This patch has obvious implications for the > > ordering of ioctl's that we may not want to introduce. > > Yes, OSS interface allows for that, but currently FreeBSD doesn't fully > pro

Re: " Making DMA buffer resizeable depending on audio speed/format "

2001-09-16 Thread Maxim Sobolev
On Sun, 16 Sep 2001 11:59:53 -0700, Orion Hodson wrote: > > Maxim > > The sound driver interface provides the application writer the choice to set > the buffering they require. This patch has obvious implications for the > ordering of ioctl's that we may not want to introduce. Yes, OSS inter

Re: " Making DMA buffer resizeable depending on audio speed/format "

2001-09-16 Thread Orion Hodson
Maxim The sound driver interface provides the application writer the choice to set the buffering they require. This patch has obvious implications for the ordering of ioctl's that we may not want to introduce. I suspect (not insist :-) the two specific fixes you report are caused by:

Making DMA buffer resizeable depending on audio speed/format

2001-09-15 Thread Maxim Sobolev
Hi there, I want to get your comments on the attached patch, which makes sound driver resizing its DMA buffer according to the currently selected audio speed/format. This is necessary because most audio hardware supports wide range of speeds/formats, which makes it hard to define one buffer size