Date: Sat, 26 Nov 2005 04:32:44 +0900 (JST) From: Kazuhito HONDA <kazuhito@ph.noda.tus.ac.jp> To: zazubrik@mail.ru Cc: freebsd-multimedia@freebsd.org Subject: Re: uaudio question Message-ID: <20051126.043244.343190160.kazuhito@ph.noda.tus.ac.jp> In-Reply-To: <A21EFF4E-FCCD-405D-B4A2-AFF68DF92527@mail.ru> References: <5F806055-9A04-4A91-9FA5-F41C4F7B9C91@mail.ru> <20051125.141025.945472619.kazuhito@ph.noda.tus.ac.jp> <A21EFF4E-FCCD-405D-B4A2-AFF68DF92527@mail.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
From: Artem Ignatiev <zazubrik@mail.ru> Subject: Re: uaudio question Date: Fri, 25 Nov 2005 17:53:23 +0300 > 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. I see. But I don't know what cause your problem. I haven't found any codes which may cause it in uaudio*.[hc]. However, I can't say any explicit demonstration. It might comes from low-level USB system of FreeBSD, perhaps. I made a mistake that full-duplex didn't work. But it eased me that it worked even though it had the problem. Sincerely yours, Kazuhito HONDA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051126.043244.343190160.kazuhito>