Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Shirkey <pshirkey@boosthardware.com>
To: Thomas Charbonnel <thomas@undata.org>
Cc: alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: Re: hdsp multiface pci.
Date: Mon, 20 Jan 2003 00:29:35 +0900	[thread overview]
Message-ID: <3E2AC45F.3070601@boosthardware.com> (raw)
In-Reply-To: 1042985569.1663.33.camel@satellite.undata.org

Thomas Charbonnel wrote:
> On Sun, 2003-01-19 at 13:08, Patrick Shirkey wrote:
> 
>>Using latest cvs, I have been trying to get this device working for my 
>>friend. We have had some success but it is unreliable.
>>
>>We could get sound out of the lineout port after using this command
>>
>>  amixer -D hw:0 cset numid=5 0,0,16384
>>
> 
> 
> This is supposed to route the signal received on analog input 1 to
> analog output 1.
> 
> 
>>numid=5,iface=PCM,name='Mixer'
>>   ; type=INTEGER,access=rw---,values=3,min=0,max=65536,step=1
>>   : values=16384,0,0
>>
>>Using
>>
>>  	numid=5 26,26,16384
>>  	numid=5 27,27,16384
> 
> 
> The above should indeed be the correct way to route software playback
> channels 1-2 to the line outs (jack's alsa_pcm:playback_1 and _2, for
> example).
> 

Sorry I'm not fully grasping this. Why are 26 and 27 directly related to 
alsa_pcm:playback_1 and _2?

I thought from reading the notes on the hdsp page that pcm1 and pcm2 
would be numbers 0 and 1 not 26 and 27.

eg.
======
Since the Multiface only have 18 i/o channels, the channel mapping in
the matrix mixer is different from the Digiface when operating at 48kHz
or lower.

input_source: 0-7 (analog), 16-23 (adat), 24-25 (spdif), 26-51 (playback)
output_source: 0-7 (analog), 16-23 (adat) 24-25 (spdif), 26-27 (line out)
======

See how it says 0-7 (analog)?	

I haven't found an explanation for the following in the docs describing 
how to use the amixer app so could you please clarify this for me?

What is this line saying?

   	numid=5 26,26,16384

something like:

connect 26 to 5 with a volume of 16384


> 
>>or
>>  	numid=5 10,10,16384 <<<--- 10 appears to be line out id
>>
> 
> 
> What makes you say so ?
> 


These are the id's in question:

numid=5,iface=PCM,name='Mixer'
   ; type=INTEGER,access=rw---,values=3,min=0,max=65536,step=1
   : values=16384,0,0

numid=10,iface=PCM,name='Line Out'
   ; type=BOOLEAN,access=rw---,values=1
   : values=on

numid=26,iface=PCM,name='Playback Peak',index=3
   ; type=INTEGER,access=r----,values=2,min=0,max=0,step=0
   : values=0,0

numid=27,iface=PCM,name='Playback RMS',index=3
   ; type=INTEGER64,access=r----,values=1,min=0,max=0,step=0
   : values=0



-- 
Patrick Shirkey - Boost Hardware Ltd.
For the discerning hardware connoisseur
Http://www.boosthardware.com
Http://www.djcj.org - The Linux Audio Users guide
========================================

Being on stage with the band in front of crowds shouting, "Get off! No! 
We want normal music!", I think that was more like acting than anything 
I've ever done.

Goldie, 8 Nov, 2002
The Scotsman



-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en

  reply	other threads:[~2003-01-19 15:29 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-19 12:08 hdsp multiface pci Patrick Shirkey
2003-01-19 14:12 ` Thomas Charbonnel
2003-01-19 15:29   ` Patrick Shirkey [this message]
2003-01-19 15:55     ` Patrick Shirkey
2003-01-19 16:07     ` Thomas Charbonnel
2003-01-19  8:23       ` Mark Knecht
2003-01-19 17:27         ` Thomas Charbonnel
2003-01-19 16:33       ` Patrick Shirkey
2003-01-19 17:00         ` Roger Williams
2003-01-19 12:21           ` Mark Knecht
2003-01-19 22:24             ` Roger Williams
2003-01-19 16:34               ` Mark Knecht
2003-01-20  2:14                 ` Roger Williams
2003-01-19 19:59                   ` Mark Knecht
2003-01-20  6:25                     ` Roger Williams
2003-01-20  5:06                       ` Mark Knecht
2003-01-20 13:46                         ` Roger Williams
2003-01-20  6:44                     ` Roger Williams
2003-01-20  8:31                       ` Marcus Andersson
2003-01-20 13:35                         ` Roger Williams
2003-01-19 17:01         ` Patrick Shirkey
2003-01-19 17:20         ` Thomas Charbonnel
2003-01-19 23:12           ` Roger Williams
  -- strict thread matches above, loose matches on Subject: below --
2003-01-20 15:57 markknecht
2003-01-20 16:12 markknecht
     [not found] <E18aeXp-00009y-00@sturgeon.coelacanth.com>
2003-01-20 17:01 ` Roger Williams
2003-01-22 18:19   ` Paul Davis
2003-01-22 18:30     ` Roger Williams
2003-01-22 18:41       ` Paul Davis
2003-01-22 18:54       ` Mark Knecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E2AC45F.3070601@boosthardware.com \
    --to=pshirkey@boosthardware.com \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=thomas@undata.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox