From owner-freebsd-multimedia Sun Sep 17 9:17:10 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from urawa3-161.kcom.ne.jp (urawa3-161.kcom.ne.jp [210.236.154.161]) by hub.freebsd.org (Postfix) with ESMTP id 73BB537B422 for ; Sun, 17 Sep 2000 09:17:05 -0700 (PDT) Received: from dhcp-1.cent.saitama-u.ac.jp (localhost [127.0.0.1]) by maestro (8.9.3/8.9.3) with ESMTP id NAA15499; Sat, 16 Sep 2000 13:28:46 +0900 (JST) (envelope-from taku@cent.saitama-u.ac.jp) Date: Sat, 16 Sep 2000 13:28:45 +0900 Message-ID: From: Taku YAMAMOTO To: Doug Ambrisko , Cameron Grant Cc: multimedia@FreeBSD.ORG Subject: AC97_MIXER_MONO (was Re: Anyone with i810 hardware?) In-Reply-To: In your message of "Fri, 15 Sep 2000 20:46:07 -0700 (PDT)" <200009160346.UAA30857@whistle.com> References: <000d01c01e9e$0638ddb0$0504020a@haveblue> <200009160346.UAA30857@whistle.com> User-Agent: Wanderlust/1.1.0 (Overjoyed) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/20.6 (i386--freebsd) MULE/4.0 (HANANOEN) Organization: Advanced Computer and Communication Engineering Studies Society MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At Fri, 15 Sep 2000 20:46:07 -0700 (PDT), Doug Ambrisko wrote: > > BTW I have a question on in the ac97.c. In ac97.c their is the > ac97mixtable_entry. This maps various things to the real parts. > Now I have a reason to want to change SOUND_MIXER_VOLUME from > using AC97_MIX_MASTER to AC97_MIX_MONO. I can do this and it basically Why do you want to? > works except in ac97.c it uses AC97_MIX_MASTER explicitly. Now I changed > that to use the structure and that works fine so now changing > the mixer SOUND_MIXER_VOLUME changes the Mono output. However, during > intialization in ich.c it uses AC97_MIX_MASTER directly I would prefer > it use ac97mixtable_entry structure. This currently isn't possible > since the ac97mixtable_entry structure is static. (snip) > Any ideas on this. How about mapping SOUND_MIXER_PHONEOUT to AC97_MIX_MONO? With having SOUND_MIXER_PHONEOUT initial value in snd_mixerdefaults[] (/sys/dev/sound/pcm/mixer.c) will work. -- YAMAMOTO, Taku Member of Advanced Computer and Communication Studies Society (ACCESS for short), Information Processing Center, Saitama Univ. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message