From owner-freebsd-multimedia@FreeBSD.ORG Sat Jun 12 19:13:16 2010 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B81E106566C for ; Sat, 12 Jun 2010 19:13:16 +0000 (UTC) (envelope-from SamanKaya@netscape.net) Received: from imr-da05.mx.aol.com (imr-da05.mx.aol.com [205.188.105.147]) by mx1.freebsd.org (Postfix) with ESMTP id E071C8FC0C for ; Sat, 12 Jun 2010 19:13:15 +0000 (UTC) Received: from mtaout-ma02.r1000.mx.aol.com (mtaout-ma02.r1000.mx.aol.com [172.29.41.2]) by imr-da05.mx.aol.com (8.14.1/8.14.1) with ESMTP id o5CJCtdI013161; Sat, 12 Jun 2010 15:12:55 -0400 Received: from [172.16.0.3] (unknown [212.156.209.87]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mtaout-ma02.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id AF8ACE000126; Sat, 12 Jun 2010 15:12:54 -0400 (EDT) Message-ID: <4C13DC33.4040909@netscape.net> Date: Sat, 12 Jun 2010 22:12:51 +0300 From: Kaya Saman User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3 MIME-Version: 1.0 To: Ian Smith References: <4C0B56BF.1020908@netscape.net> <4C0F7273.8010108@netscape.net> <20100610012011.T27982@sola.nimnet.asn.au> <4C0FD66F.9060605@netscape.net> <4C1233A0.1070302@netscape.net> <20100612030033.I27982@sola.nimnet.asn.au> In-Reply-To: <20100612030033.I27982@sola.nimnet.asn.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit x-aol-global-disposition: G X-AOL-SCOLL-SCORE: 0:2:511030560:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d29024c13dc362b99 X-AOL-IP: 212.156.209.87 Cc: multimedia@freebsd.org Subject: Re: Setting audio input source for Darkice using mixer: can't set vol?? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jun 2010 19:13:16 -0000 On 06/11/2010 08:20 PM, Ian Smith wrote: > On Fri, 11 Jun 2010, Kaya Saman wrote: > > > Ok so since no one is able to answer or help out with the below; is there any > > way of taking the output of XMMS2 and digitally routing it to the input of > > Darkice??? > > mixer =rec mix and setting the level on pcm doesn't work for you? > Erm seems not to??? I got this now: $ mixer Mixer vol is currently set to 100:100 Mixer pcm is currently set to 100:100 Mixer speaker is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer mix is currently set to 100:100 Mixer rec is currently set to 100:100 Recording source: mix The volume is very low with a lot of hiss........... actually quite interestingly sounds like an old cassette! > > I don't want to connect a whole bunch of analog cables and especially not one > > from output to input as I need the output to listen but also need to get a > > duplicate to be able to stream...... > > > > Is anyone able to advise me at all???? > > Have a look at ports audio/jack and audio/xmms-jack (and friends); > software audio routing sure beats mucking around with cables, not to > mention avoiding loss of quality going digital -> analogue -> digital. > > Disclaimer: I haven't used jack on FreeBSD yet myself, only on Debian. > I assume someone would have said something if it doesn't work .. > Hmm.... I might need to as it seems that the drivers internal routing matrix might be missing something. > cheers, Ian > Regards, Kaya > > Many thanks, > > > > Kaya > > > > > > On 09/06/2010 20:59, Kaya Saman wrote: > > > On Wed, Jun 9, 2010 at 11:52 AM, Kaya Saman wrote: > > > > > > > > Hi guys, > > > > > > > > > > just want to bump this as it's been a few days!! > > > > > > > > > > Am too new on FreeBSD to diagnose the issue myself or have the > > > > experience to > > > > > know where this problem is coming from so I hope someone can help?? > > > > > > > > > > Thanks, > > > > > > > > > > Kaya > > > > > > > > It's unclear what your problem is. You cannot set 'vol' as a recording > > > source, it is an output device. You conclude correctly that your > > > recording devices are mic and mix. > > > > > > Cheers > > > > > > Tom > > > > > > > > > > > > On 06/09/2010 06:44 PM, Ian Smith wrote: > > > > On Wed, 9 Jun 2010, Kaya Saman wrote: > > > > > Hi guys, > > > > > > > > > > just want to bump this as it's been a few days!! > > > > > > > > > > Am too new on FreeBSD to diagnose the issue myself or have the > > > > experience to > > > > > know where this problem is coming from so I hope someone can help?? > > > > > > > > > > Thanks, > > > > > > > > > > Kaya > > > > > > > > > > > > > > > On 06/06/2010 11:05, Kaya Saman wrote: > > > > > > Hi, > > > > > > > > > > > > am trying to set pcm or vol as the input source for my mixer in > > > > order to be > > > > > > used in conjunction with Darkice. > > > > > > > > > > > > For Darkice I have already set input as /dev/dsp which should be ok > > > > as > > > > > > /dev/dsp0.0 comes up when using ls /dev..... however, I had this > > > > config > > > > > > working on another box so from what I can tell the 0.0 just gives > > > > the > > > > > > amount of simultaneous channels if I'm not mistaken. > > > > > > > > > > > > The major difficulty however is coming from the fact that I can't > > > > set the > > > > > > rec input to be pcm or vol :-( > > > > > > > > > > > > pciconf -lv shows this: > > > > > > > > > > > > hdac0@pci0:0:27:0: class=0x040300 card=0x50038086 chip=0x3a3e8086 > > > > > > rev=0x00 hdr=0x00 > > > > > > vendor = 'Intel Corporation' > > > > > > device = 'HD Audio Controller' > > > > > > class = multimedia > > > > > > subclass = HDA > > > > > > > > > > > > and as both Andrew Thompson and Frank Shute helped me last time > > > > getting: > > > > > > > > > > > > snd_hda_load="YES" > > > > > > > > > > > > into /boot/loader.conf audio works without any problem too as have > > > > tested > > > > > > playback!! > > > > > > > > > > > > If I try to set: > > > > > > > > > > > > # mixer =rec vol > > > > > > mixer: unknown recording device: vol > > > > > > usage: mixer [-f device] [-s | -S] [dev [+|-][voll[:[+|-]volr]] ... > > > > > > mixer [-f device] [-s | -S] recsrc ... > > > > > > mixer [-f device] [-s | -S] {^|+|-|=}rec rdev ... > > > > > > devices: vol, pcm, speaker, mic, mix, rec > > > > > > rec devices: mic, mix > > > > > > > > > > > > I just get that the rec interfaces are mic or mix?? This is not the > > > > same as > > > > > > my other box using a different and much older integral sound chip. > > > > > > > > Seeing noone else has pounced .. we run Darkice for audio logging, but a > > > > hacked version of edcast_jack for streaming, and that on a Debian box > > > > using jackd and ALSA to split the feed to both of them, which may not > > > > seem relevant at all .. but we use Mix as the recording device, zeroing > > > > levels and muting all channels we're not using (mic, pcm, CD etc). We > > > > record from Line and set levels on that, but it works the same using > > > > just pcm in the mix instead. > > > > > > > > Not what you asked I know, but it may work ok for you .. with digital > > > > mixing with everything else off or zero, there's no degradation. > > > > > > > > HTH, Ian > > > > > > > > > > I also attempted to comment the snd_hda_load out of > > > > /boot/loader.conf and > > > > > > include this instead: > > > > > > > > > > > > snd_driver_load="YES" > > > > > > > > > > > > which basically did the same thing as the above with (so also a > > > > small > > > > > > question here about which line is better?) so yeah am stuck with > > > > both > > > > > > kernel module loaders providing the same output :-( > > > > > > > > > > > > Is there a way other then feeding a cable from the output into the > > > > input to > > > > > > rectify this issue?? > > > > > > > > > > > > Thanks, > > > > > > > > > > > > Kaya > > > > > > Thanks Ian and Tom for the responses :-) > > > > > > Tom I'm just going to quote you again: " > > > > > > It's unclear what your problem is. You cannot set 'vol' as a recording > > > source, it is an output device. > > > > > > " > > > > > > Actually the box that's sitting in front of me can do this: > > > > > > $ mixer > > > Mixer vol is currently set to 75:75 > > > Mixer pcm is currently set to 75:75 > > > Mixer speaker is currently set to 75:75 > > > Mixer line is currently set to 75:75 > > > Mixer mic is currently set to 0:0 > > > Mixer cd is currently set to 75:75 > > > Mixer rec is currently set to 0:0 > > > Mixer igain is currently set to 0:0 > > > Mixer ogain is currently set to 50:50 > > > Mixer line1 is currently set to 75:75 > > > Mixer phin is currently set to 0:0 > > > Mixer phout is currently set to 0:0 > > > Recording source: vol > > > > > > Of course it's a totally different system running FreeBSD 8.0 RELEASE 32bit > > > as opposed to 64bit. Also it has a much older sound card which may have > > > better support?? > > > > > > Anyway this is what I'm after as currently I can't get my > > > Darkice/Icecase2/Drupal5 streaming service working as there's no sound > > > input!! > > > > > > I think it's probably just the driver for the HD audio interface in my > > > view. But how to sort or who to go to, to help sort?? > > > > > > Regards, > > > > > > Kaya >