From: Florian Schmidt <mista.tapas@gmx.net>
To: Anton Petrusevich <casus@casus.us>
Cc: Rene Herman <rene.herman@gmail.com>,
linux-kernel@vger.kernel.org, alsa-devel@lists.sourceforge.net
Subject: Re: Is it time for remove (crap) ALSA from kernel tree ?
Date: Fri, 29 Jun 2007 12:30:54 +0200 [thread overview]
Message-ID: <200706291230.54175.mista.tapas@gmx.net> (raw)
In-Reply-To: <200706281834.16564.casus@casus.us>
On Thursday 28 June 2007, Anton Petrusevich wrote:
> > > I have ICE1724, a very good sound card to my taste, works like a charm.
> > > But with ALSA I had a really hard time to configure it properly, wanna
> > > see my .asoundrc?
> >
> > Not particularly. I don't count as a great fan of the config file syntax
> > and don't use any configuration myself.
>
> Do you have an SPDIF out? If you don't then you don't need .asoundrc of
> course.
With a properly coded ALSA app, one doesn't need a .asoundrc. You would
enter "plug:spdif" [or something similar] into the pcm device name entry text
field.
Or if you want to point all apps to that device you actually could add this to
your .asoundrc:
pcm.!default {
type plug
slace.pcm "spdif"
}
[or something similar. Too lazy to look up the exact syntax now]. And then
every app using the ALSA API _correctly_ should use that device [if
configured to use the default device, which should be the _default_ ;)]
Sadly it seems pretty much everyone, especially closed source apps get this
wrong (but to be fair: loads of open source software gets it wrong, too,
ekiga for example).
What they do wrong is that they try to present a list of devices to the user
from which he can choose [which isn't bad in itself] and also do _not_ offer
any way to specify an arbitrary PCM device name.
Sadly, the ALSA api docs do not stress this point often enough, so it gets
missed pretty often.
I once posted an [not original, i suppose people before me got that idea, too]
idea to the alsa-dev list a while back, proposing a way to be able
to "register" pcm devices defined in .asoundrc/asound.conf, so that apps that
want to present a list to the user can simply ask ALSA for a list of devices
nd hav the user defined ones included. Sadly i don't think it ever went
anywhere..
> Because I want to route it differently, sometimes to spdif, sometimes to
> headphones, sometimes to mix sounds from different apps. Well, my config
> may be a bit ancient as it was written when dmix was not default.
Well, like i said, the application in question should allow you to enter any
pcm name you want. If it doesn't it's broken.
> I have read some advices for ice1724 already. The main reason I wrote to
> lkml -- I hate .asounrc and reading docs about it. I hate "flexebility"
> that requires restarting apps after changing sound routes.
I own a ice1712, too, but i only use it for JACK and it works brilliantly
there. But i know it can be a bitch to configure since it sports a 10/12
channel device which can be too complicated for some ALSA apps making
assumptions about the device they get ;)
> I perfectly know this one. I would like to use some really user-friendly
> tool.
I don't know of any. But any text editor will do.
> > > I want to be able to hear sound from flashplayer on my reciever or in
> > > my headphones -- how?
> >
> > Not sure? Is your receiver on an analog output and are your headphones
>
> My receiver is on spdif out.
The flashplayer has been another one of these badly coded apps ;) Maybe that
has changed in recent releases.
> > It's not working without an .asoundrc?
>
> Looks like it's not working with. As skype is not so informative.
But skype is a piece of crap anyways. It also doesn't get any sounds out of my
other [non ice1712] card. Neither in OSS nor in ALSA mode. Not a beep. And
yeah, the device is available [and even has hardware multiplexing]..
> I am not about ice1724 or .asounrc here. I am trying to talk about
> user-friendliness of ALSA. It's very unfriendly.
I agree. ALSA is not very userfriendly. Especially the missing proper device
enumeration support is a problem.
But 99.9% of problems people have with ALSA are due to badly coded apps..
Regards,
Flo
--
Palimm Palimm!
http://tapas.affenbande.org
next prev parent reply other threads:[~2007-06-29 10:31 UTC|newest]
Thread overview: 108+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-28 12:42 Is it time for remove (crap) ALSA from kernel tree ? Anton Petrusevich
2007-06-28 15:02 ` Rene Herman
2007-06-28 16:34 ` Anton Petrusevich
2007-06-28 16:38 ` Xavier Bestel
2007-06-28 18:56 ` Rene Herman
2007-06-28 19:33 ` Tomasz Kłoczko
2007-06-28 19:34 ` Rene Herman
2007-06-29 10:30 ` Florian Schmidt [this message]
2007-06-29 11:40 ` Anton Petrusevich
2007-06-29 12:38 ` Florian Schmidt
2007-06-29 12:29 ` Gabriel C
-- strict thread matches above, loose matches on Subject: below --
2007-07-07 2:41 William Pitcock
2007-07-07 13:23 ` Carlo Wood
[not found] <fa.C+RaPJT9DzfOowG03yiRkB6ItF8@ifi.uio.no>
[not found] ` <fa.eZW1VxypFFwQqmC93xQaStxDK0Q@ifi.uio.no>
[not found] ` <fa.n+OzEywqHGabZtz5NxmlX4rEY0A@ifi.uio.no>
2007-06-29 1:16 ` Robert Hancock
2007-06-29 22:04 ` Rene Herman
2007-06-27 16:25 Andreas Hartmetz
2007-06-27 17:29 ` Rene Herman
2007-06-27 19:10 ` Andreas Hartmetz
2007-06-27 23:12 ` Rene Herman
2007-06-28 0:18 ` Patrick Draper
2007-06-28 1:58 ` Rene Herman
2007-06-28 2:28 ` Rene Herman
2007-06-28 11:15 ` Rene Herman
2007-06-28 3:04 ` Patrick Draper
2007-06-28 3:22 ` Lee Revell
2007-06-28 5:13 ` Arjan van de Ven
2007-06-28 11:50 ` Tomasz Kłoczko
2007-06-28 11:58 ` Gabriel C
2007-06-28 12:57 ` Rene Herman
2007-06-28 12:39 ` Rene Herman
2007-06-26 20:39 Andreas Hartmetz
2007-06-26 21:10 ` Måns Rullgård
2007-06-27 3:59 ` Rene Herman
2007-06-28 3:41 ` Lee Revell
2007-06-28 11:52 ` Tomasz Kłoczko
2007-06-28 13:02 ` Meelis Roos
[not found] <fa.4npeXBdRGMm2JoKWe0qhjQdrJkk@ifi.uio.no>
[not found] ` <fa.bAhr1dmoWCFU+8Kxo95nsy5DRRU@ifi.uio.no>
[not found] ` <fa.MQ77mllForge5OWcDydLlI0yp8s@ifi.uio.no>
2007-06-24 19:37 ` Robert Hancock
2007-06-24 18:35 Ash Willis
2007-06-24 19:01 ` Tomasz Kłoczko
2007-06-24 17:51 Tomasz Kłoczko
2007-06-24 19:08 ` Alan Cox
2007-06-24 19:24 ` Tomasz Kłoczko
2007-06-24 19:27 ` Jan Engelhardt
2007-06-24 21:43 ` Rene Herman
2007-06-25 10:06 ` Tomasz Kłoczko
2007-06-25 10:46 ` Jan Engelhardt
2007-06-25 20:32 ` Hannu Savolainen
2007-06-24 20:57 ` Alan Cox
2007-06-24 22:43 ` Olivier Galibert
2007-06-24 22:44 ` Carlo Wood
2007-06-24 22:48 ` Jesper Juhl
2007-06-24 23:13 ` Carlo Wood
2007-06-25 3:41 ` Nobin Mathew
2007-06-25 9:06 ` Alan Cox
2007-06-25 10:41 ` Takashi Iwai
2007-06-25 9:51 ` Tomasz Kłoczko
2007-06-25 10:58 ` Takashi Iwai
2007-06-25 11:36 ` Tomasz Kłoczko
2007-06-25 12:31 ` Takashi Iwai
2007-06-25 12:40 ` Jan Engelhardt
2007-06-25 12:47 ` Olivier Galibert
2007-06-25 12:50 ` Takashi Iwai
2007-06-25 12:44 ` Olivier Galibert
2007-06-25 12:58 ` Takashi Iwai
2007-06-25 13:20 ` Olivier Galibert
2007-06-25 13:21 ` Adrian Bunk
2007-06-28 18:30 ` Nix
2007-06-28 20:02 ` Rene Herman
2007-06-28 20:20 ` Lee Revell
2007-06-28 20:43 ` Adrian Bunk
2007-06-28 20:22 ` Jeff Garzik
2007-06-28 21:06 ` Adrian Bunk
2007-06-28 21:37 ` Rene Herman
2007-06-28 22:24 ` Nix
2007-06-29 11:52 ` Florian Schmidt
2007-06-29 14:56 ` Miklos Szeredi
2007-06-29 15:49 ` Alan Cox
2007-06-29 15:55 ` Miklos Szeredi
2007-06-29 16:14 ` Miklos Szeredi
2007-07-01 11:46 ` Florian Schmidt
2007-07-01 12:17 ` Miklos Szeredi
2007-06-29 18:39 ` Pavel Machek
2007-06-25 17:00 ` Tomasz Kłoczko
2007-06-25 22:49 ` Rene Herman
2007-06-25 13:01 ` Gabor Gombas
2007-06-25 13:41 ` Tomasz Kłoczko
2007-06-25 14:05 ` Gabor Gombas
2007-06-25 13:21 ` Renato S. Yamane
2007-06-25 14:02 ` Tomasz Kłoczko
2007-06-25 13:46 ` Rene Herman
2007-06-25 6:24 ` Carlo Florendo
2007-06-25 6:22 ` Carlo Florendo
2007-06-25 10:53 ` Takashi Iwai
2007-06-25 11:50 ` Tomasz Kłoczko
2007-06-25 13:04 ` Bartlomiej Zolnierkiewicz
2007-06-25 21:18 ` Hannu Savolainen
2007-06-25 23:17 ` Adrian Bunk
2007-06-26 16:25 ` Wakko Warner
2007-06-26 16:52 ` Takashi Iwai
2007-06-27 11:11 ` Wakko Warner
2007-06-26 9:35 ` Takashi Iwai
2007-06-26 11:48 ` Jeff Garzik
2007-06-25 14:44 ` Lennart Sorensen
2007-06-25 15:48 ` Tomasz Kłoczko
2007-06-25 17:13 ` Lennart Sorensen
2007-07-04 6:35 ` Darren
2007-07-04 17:32 ` Adrian Bunk
2007-07-05 12:59 ` Tomasz Kłoczko
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=200706291230.54175.mista.tapas@gmx.net \
--to=mista.tapas@gmx.net \
--cc=alsa-devel@lists.sourceforge.net \
--cc=casus@casus.us \
--cc=linux-kernel@vger.kernel.org \
--cc=rene.herman@gmail.com \
/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).