From owner-freebsd-multimedia Fri Jan 29 11:26:01 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA28834 for freebsd-multimedia-outgoing; Fri, 29 Jan 1999 11:26:01 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from mailhost.grin.net (mailhost.grin.net [209.104.220.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA28818 for ; Fri, 29 Jan 1999 11:25:59 -0800 (PST) (envelope-from tristan@mpegtv.com) Received: from ppp-174.pm4-1.grin.net ([208.202.189.174] helo=mpegtv.com) by mailhost.grin.net with esmtp (Exim 2.02 #1) id 106JYC-0007hX-00; Fri, 29 Jan 1999 11:25:56 -0800 Message-ID: <36B20C6D.2B04BDC1@mpegtv.com> Date: Fri, 29 Jan 1999 11:30:54 -0800 From: Tristan Savatier X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.27 i586) MIME-Version: 1.0 To: Luoqi Chen CC: multimedia@FreeBSD.ORG Subject: Re: MpegTV volume control problem References: <199901290846.DAA00474@chen.ml.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Luoqi Chen wrote: > > I'm having trouble adjusting volume while mtv is playing. No matter what > value I set the volume to (either using mtv's volume control or using > /usr/sbin/mixer), mtv immediately sets it back to 5:0. I had to remove > the mixer node from /dev in order to hear the audio. I tried both Luigi's > pcm driver and the old driver, same result. Did anybody else have the same > experience? Is this a mpegtv bug or a problem with our system (either > the sound driver or the linux emulation layer)? > > -lq it is not an mpegtv bug: volume control works well with all the native linux versions (linux-x86-libc5, linux-x86-glibc, linux-alpha...). note that after setting the volume, the player asks (every second or so) the current volume settings to the mixer with the OSS ioctl call MIXER_READ(SOUND_MIXER_VOLUME) or MIXER_READ(SOUND_MIXER_PCM). the player does that in order to reflect the current volume setting, in case they are changed by some other source. If those ioctl do not work properly, mtv would behave exactly has you describe. -t To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message