alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Jonas Holmberg <jonashg@axis.com>
To: <alsa-devel@alsa-project.org>
Cc: tiwai@suse.de
Subject: Re: route and chmap
Date: Fri, 27 Mar 2020 16:50:13 +0100	[thread overview]
Message-ID: <20200327155013.GA593298@axis.com> (raw)
In-Reply-To: <20200326134110.GA3784158@axis.com>

CC Takashi.

On Thu, Mar 26, 2020 at 02:41:11PM +0100, Jonas Holmberg wrote:
> Hi,
> I use the route plugin to copy mono to both FL and FR (front left and 
> front right stereo) of the slave during playback. When get_chmap() is 
> called in the route plugin it will call get_chmap() of the slave, 
> which returns 2 channels with FL and FR positions, and then route 
> itself returns 1 channel with FL position. But the application that 
> called snd_pcm_get_chmap() on the playback device expected to get 
> position MONO instead of FL since the number of channels is 1.
> 
> Is the application wrong in not accepting the chmap or should the 
> route plugin have changed position from FL to MONO? Is it possible to 
> add something to the config (asound.conf) to make FL become MONO in 
> the reply of get_chmap() or solve the problem in any other way?
> 
> BR
> /Jonas

  reply	other threads:[~2020-03-27 16:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-26 13:41 route and chmap Jonas Holmberg
2020-03-27 15:50 ` Jonas Holmberg [this message]
2020-03-27 16:23   ` Takashi Iwai

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=20200327155013.GA593298@axis.com \
    --to=jonashg@axis.com \
    --cc=alsa-devel@alsa-project.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).