Date: Fri, 24 Sep 2004 17:42:02 -0400 From: Mathew Kanner <mat@cnd.mcgill.ca> To: Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> Cc: freebsd-multimedia@freebsd.org Subject: Re: USB Audio on FreeBSD 5.2.1-release? Message-ID: <20040924214202.GA65403@cnd.mcgill.ca> In-Reply-To: <20040924174321.0eec3c63.torfinn.ingolfsen@broadpark.no> References: <20040924174321.0eec3c63.torfinn.ingolfsen@broadpark.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sep 24, Torfinn Ingolfsen wrote: > Hei, > > Are USB audio devices suposed to work without problems under FreeBSD > 5.2.1-release? > > I have a USB Speaker set, when connected to the machine, it is identifed > as: > # usbdevs -v > Controller /dev/usb0: > addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), > SiS(0x0000), rev 1.00 > port 2 addr 3:full speed, power 500 mA, config 1, USB Audio(0x0001), > C-Media INC.(0x0d8c), rev 0.10 > > It attaches as (from /var/log/messages): > Sep 24 17:02:31 kg-work kernel: uaudio0: audio rev 1.00 > Sep 24 17:02:31 kg-work kernel: pcm1: <USB Audio> on uaudio0 > > However, when i try to play a MP3 file (using XMMS) it sounds stuttering > or "choppy" if you know what I mean. > The same MP3 file sounds fine when played on the internal sound device. There are some tests you can try out. Use mplayer to play mp3s and force the output to 48khz There are problems with USB audio. Could you try http://www.cnd.mcgill.ca/~mat/uaudio-netbsd177.diff.bz2 Something that I was working on a couple of weeks ago. You should sysctl hw.usb.uadion.delay=0 You'll loose the mixer but it should report the speed a little better and I think they (netbsd) improved the packet size calculation. It also picks up the endpoints better (iirc). --Mat -- Canada is a country whose main exports are hockey players and cold fronts. Our main imports are baseball players and acid rain. - Pierre Elliott Trudeau
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040924214202.GA65403>