uaudio question
Artem Ignatiev
zazubrik at mail.ru
Fri Nov 25 14:53:39 GMT 2005
On 25.11.2005, at 8:10, Kazuhito HONDA wrote:
> From: Artem Ignatiev <zazubrik at mail.ru>
> Subject: Re: uaudio question
> Date: Mon, 21 Nov 2005 16:25:42 +0300
>
>>
>> On 18.11.2005, at 20:23, Kazuhito HONDA wrote:
>>
>>> Please look at these mails:
>>>
>>> A part of http://docs.freebsd.org/cgi/getmsg.cgi?fetch=10831+0
>>> +archive/2005/freebsd-multimedia/20050501.freebsd-multimedia after
>>> `3.'.
>>>
>>
>> That worked, but buffer seems to be 2 secs long...
>
> Excuse me, but I don't understand your circumstances.
> Whose buffer is that?
Dunno. ;-)
just doing
while(1) { read(dev_dsp_fd, buf, BUFSZ); write(dev_dsp_fd, buf,
BUFSZ); }
gives 2 (sometimes 3, depends on BUFSZ, I've used values 4000, 8000,
16000) second lag, than it begins to plays sounds that were recorded
2 secs (or 3) ago.
> And would you please read 3'. in that mail, too.
> You must delete one line of uaudio.c for complete full-duplex.
Yes, it's just what I've done (actually, I #ifdef 0-ed condition and
return)
More information about the freebsd-multimedia
mailing list