Date: Fri, 25 Nov 2005 17:53:23 +0300 From: Artem Ignatiev <zazubrik@mail.ru> To: Kazuhito HONDA <kazuhito@ph.noda.tus.ac.jp> Cc: freebsd-multimedia@freebsd.org Subject: Re: uaudio question Message-ID: <A21EFF4E-FCCD-405D-B4A2-AFF68DF92527@mail.ru> In-Reply-To: <20051125.141025.945472619.kazuhito@ph.noda.tus.ac.jp> References: <F1548921-30C9-408B-9FB0-502F4244551D@mail.ru> <20051119.022305.343188611.kazuhito@ph.noda.tus.ac.jp> <5F806055-9A04-4A91-9FA5-F41C4F7B9C91@mail.ru> <20051125.141025.945472619.kazuhito@ph.noda.tus.ac.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
On 25.11.2005, at 8:10, Kazuhito HONDA wrote: > From: Artem Ignatiev <zazubrik@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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A21EFF4E-FCCD-405D-B4A2-AFF68DF92527>