[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Massive sound changes / fix (24/32bit pcm support, new sampling rate converter, various fixes)
- To: Sascha Klauder <sklauder_(_at_)_trimind_(_dot_)_de>
- Subject: Re: Massive sound changes / fix (24/32bit pcm support, new sampling rate converter, various fixes)
- From: Ariff Abdullah <skywizard_(_at_)_MyBSD_(_dot_)_org_(_dot_)_my>
- Date: Wed, 13 Jul 2005 06:13:47 +0800
- Cc: freebsd-multimedia_(_at_)_freebsd_(_dot_)_org, mat_(_at_)_cnd_(_dot_)_mcgill_(_dot_)_ca
- Organization: MyBSD
On Tue, 12 Jul 2005 22:44:04 +0200
Sascha Klauder <sklauder_(_at_)_trimind_(_dot_)_de> wrote:
> On Thu, Jul 07, 2005 at 06:46:03AM +0800, Ariff Abdullah wrote:
> > After sometimes, I've decided to release this (massive 4k lines)
> > diff to our sound driver. This need proper review and
> > confirmation, before it can be committed.
> > Patches for both HEAD / RELENG_5 available at:
> > http://staff.mybsd.org.my/skywizard/FreeBSD/sound/
> Just applied snd_RELENG_5_20050709_006.diff.
> System is 5.4-STABLE (from 2005-06-12), tested hardware:
> $ cat /dev/sndstat
> FreeBSD Audio Driver (newpcm)
> Installed devices:
> pcm0: <Creative EMU10K1> at io 0xe000 irq 10 kld snd_emu10k1
> (4p/2r/2v channels duplex default) pcm1: <SB16 DSP 4.16> at io 0x220
> irq 5 drq 1:5 bufsz 4096d kld snd_sb16 (1p/1r/1v channels duplex)
> Something's not right here. I had some minor issues with
> crackling noise on PCM playback with pcm1 (it's an AWE64),
> which seems to be gone now, but the playback is just a bit
> too slow, which sounds pretty strange. Playback on pcm0
> (old SB Live!) is just fine, as it was before applying the
> Recompiling mpg321 and settings vchans didn't help. Where
> to start looking?
AWE64 is actually not capable of driving sampling rate at 48k (which
is the current default value for vchan). Fortunately you can tune
default sampling rate using kernel hint by adding this to your
More good news is, I've already added sysctl controller to tune vchan
rate on the fly, something like sysctl hw.snd.pcm0.vchanrate=xxx. Stay
tuned. If you insist, you may try my latest (revision 8) patch from:
I do have general solution to entirely eliminate noise / crackling
issues (which plagued most SBLive!), which is part of my TODO list.
Thanks for that feedback!
freebsd-multimedia_(_at_)_freebsd_(_dot_)_org mailing list
To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org