All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Adam K Kirchhoff <adamk@voicenet.com>
Cc: xavier.allamigeon@free.fr, alsa-devel@alsa-project.org
Subject: Re: ymfpci : four speakers with OSS-emulation
Date: Wed, 13 Mar 2002 15:28:13 +0100	[thread overview]
Message-ID: <s5h6640k0ea.wl@alsa2.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.10.10203130755120.9445-100000@sorrow.ashke.com>

At Wed, 13 Mar 2002 08:01:02 -0500 (EST),
Adam K Kirchhoff wrote:
> 
> The solution the Jaroslav gave in that e-mail actually requires changes to
> the ymfpci driver, as I understand it.  Last time I pulled code from CVS,
> this hadn't been done yet.  From the sound of it (based on your
> experience) it looks like it still hasn't been done.  At the moment, I
> don't really understand Alsa (or sound drivers in general) well enough to
> make the change myself, nor do I really have the time to pick up that
> knowledge at the moment.
> 
> However, it's also my impression from Jaroslav's explanation that this
> would simply duplicate the output from the fron channel on the rear
> channel. Can someone let me know if this is correct?

if you only need duplication, this can be done on alsa-lib without
changing the driver itself.
try to add the following in your ~/.asoundrc.

	pcm.ch4dup {
		type plug
		slave.pcm surround40
		ttable.0.0 1
		ttable.1.1 1
		ttable.0.2 1
		ttable.1.3 1
	}

then run like this

	% aplay -D ch4dup foo.wav

To use this technique on OSS emulation, you'll need aoss wrapper
(included in alsa-oss package).
suppose that the application uses /dev/dsp, add the following in
~/.asoundrc.

	pcm.dsp0 pcm.ch4dup

then run your oss application via aoss script

	% aoss foobar


Takashi

_______________________________________________
Alsa-devel mailing list
Alsa-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-devel

  reply	other threads:[~2002-03-13 14:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-13  7:24 ymfpci : four speakers with OSS-emulation xavier.allamigeon
2002-03-13 13:01 ` Adam K Kirchhoff
2002-03-13 14:28   ` Takashi Iwai [this message]
2001-03-13 22:57     ` Adam K Kirchhoff
2002-03-14  9:45       ` Takashi Iwai
2002-03-14 12:43         ` Adam K Kirchhoff
2002-03-17  2:37           ` Adam K Kirchhoff
2002-03-13 14:29     ` Adam K Kirchhoff
2002-03-13 14:58       ` Takashi Iwai
2002-03-13 15:13         ` Adam K Kirchhoff
  -- strict thread matches above, loose matches on Subject: below --
2002-03-14 13:30 xavier.allamigeon
2002-03-14 17:01 ` Takashi Iwai
2002-03-14 18:22   ` Xavier ALLAMIGEON

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=s5h6640k0ea.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=adamk@voicenet.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=xavier.allamigeon@free.fr \
    /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.