From owner-freebsd-multimedia Mon May 22 17:44:57 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from rr.com (rdu25-28-182.nc.rr.com [24.25.28.182]) by hub.freebsd.org (Postfix) with ESMTP id 9B57437B9C3 for ; Mon, 22 May 2000 17:44:52 -0700 (PDT) (envelope-from rhh@rr.com) Received: (from rhh@localhost) by rr.com (8.9.3/8.9.3) id UAA07197; Mon, 22 May 2000 20:45:46 -0400 (EDT) (envelope-from rhh) Date: Mon, 22 May 2000 20:45:46 -0400 From: Randall Hopper To: Udo Erdelhoff Cc: multimedia@FreeBSD.ORG Subject: PCM set/get volume (was Re: Another datapoint) Message-ID: <20000522204546.B7033@nc.rr.com> References: <20000508110728.A33101@gruft.de> <3916966C.C5C3EB31@cs.strath.ac.uk> <20000508134336.A33792@gruft.de> <20000508131332.A10497@ipass.net> <20000517012159.A28648@gruft.de> <20000516200522.A815@ipass.net> <20000518184009.F19157@nathan.ruhr.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000518184009.F19157@nathan.ruhr.de>; from ue@nathan.ruhr.de on Thu, May 18, 2000 at 06:40:10PM +0200 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Udo Erdelhoff: |I've used a small shell script to get "The Big Picture"(tm) |#!/bin/sh |A=0 |while [ $A -le 100 ]; do | mixer vol $A | mixer | A=`expr $A + 1` |done | |The result is consistent for all mixer devices: |Input Value Output Value |0 0 |1 4 |2 4 |3 4 |4 7 |5 7 |6 7 |7 10 ... |And that's the reason for the original poster's problem: fxtv reads the |mixer setting and writes it back. And that's enough to increase the volume |to max with just 32 cycles... | |/s/Udo |Config details: | |Kernel config: device pcm |FreeBSD 5.0-CURRENT #7: Thu Mar 30 07:45:57 CEST 2000 |pcm0: port 0xe000-0xe03f irq 5 at device 9.0 on pci0 Glad that you got it tracked down. Now the question is who maintains the ES1371 PCM driver. -- Randall Hopper aa8vb@nc.rr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message