From: Johannes Berg <johannes@sipsolutions.net>
To: alsa-devel@alsa-project.org
Subject: alsa problems
Date: Tue, 28 Mar 2006 14:10:35 +0200 [thread overview]
Message-ID: <1143547835.13615.25.camel@localhost> (raw)
[-- Attachment #1: Type: text/plain, Size: 856 bytes --]
Hi,
I continued writing the new driver for the apple machine sound stuff,
and I keep running into alsa bugs which is pretty frustrating.
1)
#include <sound/core.h>
doesn't compile because it requires sound/driver.h *before* it.
2)
snd_pcm_new_stream doesn't create the pcm devices when the pcm has
already been registered.
Since I don't know a priori which directions (playback/capture) my pcm
will support, I wanted to add the pcm, register it, and then add
substreams to it. No such luck, so now I have to register both
substreams (I can only support one in each direction anyway) without
knowing if they can ever be used...
3)
No way to get rid of some kinds of resources, like pcms...
Concluding, I'd say that there ought to be some effort to make alsa more
dynamic with the kinds of devices you have in card...
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 793 bytes --]
next reply other threads:[~2006-03-28 12:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-28 12:10 Johannes Berg [this message]
2006-03-28 13:08 ` alsa problems Takashi Iwai
2006-03-28 13:11 ` Johannes Berg
2006-03-28 13:16 ` Takashi Iwai
2006-03-28 13:21 ` Johannes Berg
2006-03-28 13:36 ` Takashi Iwai
2006-03-28 13:44 ` Johannes Berg
2006-03-28 14:06 ` Takashi Iwai
2006-03-28 14:10 ` Johannes Berg
2006-03-28 14:21 ` Takashi Iwai
2006-03-28 15:33 ` Johannes Berg
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=1143547835.13615.25.camel@localhost \
--to=johannes@sipsolutions.net \
--cc=alsa-devel@alsa-project.org \
/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.