Date: Sun, 6 Nov 2005 21:21:27 +0800 From: Ariff Abdullah <skywizard@MyBSD.org.my> To: Watanabe Kazuhiro <CQG00620@nifty.ne.jp> Cc: freebsd-multimedia@freebsd.org Subject: Re: [patch] als4000.c recording mixer problem Message-ID: <20051106212127.7ef640c3.skywizard@MyBSD.org.my> In-Reply-To: <20051106124900.7D4EF1E5F4@mail.asahi-net.or.jp> References: <20051106124900.7D4EF1E5F4@mail.asahi-net.or.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 06 Nov 2005 21:49:11 +0900 Watanabe Kazuhiro <CQG00620@nifty.ne.jp> wrote: > Hi, everyone. > > I have an AOpen AW200 sound card which uses the AvanceLogic ALS4000 > soundchip. > > When I try to record from the card's line input with wavrec (a part > of ports/audio/wavplay) on FreeBSD 5.4, only record the left > channel. The right channel has no sound. > > > But on FreeBSD-7-current (CVSup'ed Nov. 5), it can record both left > and right channel. It looks like correct, however, it also selects > an another input(s) to the recording source. > > To find out this problem, add a bit of modify to > sys/dev/sound/pci/als4000.c and run mixer(1) command. > > @@ -616,7 +616,9 @@ alsmix_setrecsrc(struct snd_mixer *m, u_ > if (src & SOUND_MASK_SYNTH) > mask |= 0x60; > > +printf("l=%x\n", l|mask); > als_mix_wr(sc, SB16_IMASK_L, l|mask); > +printf("r=%x\n", r|mask); > als_mix_wr(sc, SB16_IMASK_R, r|mask); > return src; > } > > I'll give it a shot later this day. -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051106212127.7ef640c3.skywizard>