All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Giuliano Pochini <pochini@shiny.it>
Cc: Alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: Re: Echoaudio driver, hint request
Date: Fri, 12 Nov 2004 11:21:37 +0100	[thread overview]
Message-ID: <s5h8y97fjv2.wl@alsa2.suse.de> (raw)
In-Reply-To: <20041108224637.1fd8b6cd.pochini@shiny.it>

At Mon, 8 Nov 2004 22:46:37 +0100,
Giuliano Pochini wrote:
> 
> My driver currently registers two pcm devices: pmc#0 for analog channels and
> pcm#1 for digital channels. Though the DSP interface does not make that
> distinction: for example the Gina24 has 2 analog and 8 digital input
> channels and they are numbered 16..25. It's also possible to use a substream
> made of all 10 channels at the same time.
> 
> The question is: what's better, the current approach of keeping analog and
> digital channels on different pcm devices (quite messy at driver level), or
> should I put them toghether and write a proper .alsarc file, so the user can
> choose digital channels by name instead of by index ?

It's diffituly to tell which is definitely better.

When someone wants to use OSS emulation for digital, it'd be nicer to
have a distinct device, so that it may work with the kernel OSS
emulation route.  OTOH, from the ALSA perspective, it's no problem to
have one stream with all channels.

So, the question is the difficulty of coding.  If the code wouldn't be
too complicated, the separate devices are easier and more
understandable for users.  If the code matters, choose the one stream
type like ice1712.


Takashi


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

  reply	other threads:[~2004-11-12 10:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-08 21:46 Echoaudio driver, hint request Giuliano Pochini
2004-11-12 10:21 ` Takashi Iwai [this message]
2004-11-16 18:25   ` Giuliano Pochini

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=s5h8y97fjv2.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=pochini@shiny.it \
    /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.