All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Courtier-Dutton <James@superbug.demon.co.uk>
To: alsa-devel@lists.sourceforge.net
Subject: problems with mono audio.
Date: Thu, 11 Mar 2004 19:10:05 +0000	[thread overview]
Message-ID: <4050B98D.3030104@superbug.demon.co.uk> (raw)

Which devices can a mono stream be played on?
It seems that the only device a mono stream can be played on is the 
"default" pcm device.

Devices like "front" and "rear" are stereo only devices.
It would be nice if alsa-lib would open one of these devices, and if the 
application tries to set 1 channel instead of 2, then somehow make 
alsa-lib do the duplication of the channels.

A similar thing should happen for "surround40" device. If 1 channel is 
asked for, alsa-lib should duplicate it for all channels. If 2 channels 
are asked for, then alsa-lib should create 4 channels automatically.

alsa-lib seems to manage to do this sort of thing for sample rates, and 
sample formats, why not number of channels ?

Cheers
James


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

             reply	other threads:[~2004-03-11 19:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-11 19:10 James Courtier-Dutton [this message]
2004-03-11 19:18 ` problems with mono audio Jaroslav Kysela
2004-03-11 19:48   ` James Courtier-Dutton

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=4050B98D.3030104@superbug.demon.co.uk \
    --to=james@superbug.demon.co.uk \
    --cc=alsa-devel@lists.sourceforge.net \
    /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.