All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Charbonnel <thomas@undata.org>
To: Jaroslav Kysela <perex@suse.cz>
Cc: Takashi Iwai <tiwai@suse.de>,
	Patrick Shirkey <pshirkey@boosthardware.com>,
	alsa-devel@lists.sourceforge.net
Subject: Re: hdsp vs 16bit vs dmix
Date: Mon, 26 Jan 2004 15:10:51 +0100	[thread overview]
Message-ID: <40151FEB.6040409@undata.org> (raw)
In-Reply-To: <Pine.LNX.4.58.0401261415070.2959@pnote.perex-int.cz>

Jaroslav Kysela wrote :
> On Mon, 26 Jan 2004, Thomas Charbonnel wrote:
> 
> 
>>Now if you do specify 'channels 18' in the dmix slave definition, the 
>>error is as follows :
>>aplay: set_params:827: Sample format non available
>>I have 'format S32_LE' set in the dmix slave definition, but it doesn't 
>>seem to be taken into account.
> 
> 
> It should be. Did you used 'aplay -D plug:your_dmix'?
> 
> 						Jaroslav
> 

You're right, I only used '-D my_dmix'.
Using '-D plug:my_dmix' works properly, so I guess the problem is 
solved, thanks !

For the record here's the working .asoundrc section :

pcm.hdsp_dmix {
     type dmix
     ipc_key 1024
     slave {
         pcm {
             type hw
             card 2
         }
         rate 44100
         format S32_LE
         channels 18
     }
}

Of course people will have to tweak the card and channels number to 
match their setup.

Thomas




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

      reply	other threads:[~2004-01-26 14:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-07 17:29 hdsp vs 16bit vs dmix Patrick Shirkey
2004-01-08 11:19 ` Takashi Iwai
2004-01-08 11:16   ` Jaroslav Kysela
2004-01-08 15:49   ` Patrick Shirkey
2004-01-08 16:05     ` Takashi Iwai
2004-01-12 14:01     ` Justin Cormack
2004-01-13  9:24       ` Patrick Shirkey
2004-01-26 12:57   ` Thomas Charbonnel
2004-01-26 13:15     ` Jaroslav Kysela
2004-01-26 14:10       ` Thomas Charbonnel [this message]

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=40151FEB.6040409@undata.org \
    --to=thomas@undata.org \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=perex@suse.cz \
    --cc=pshirkey@boosthardware.com \
    --cc=tiwai@suse.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.