From: Johannes Berg <johannes@sipsolutions.net>
To: alsa-devel@alsa-project.org
Subject: pcm hw parameters?
Date: Fri, 24 Mar 2006 14:19:47 +0100 [thread overview]
Message-ID: <1143206387.28247.22.camel@localhost> (raw)
[-- Attachment #1: Type: text/plain, Size: 816 bytes --]
Hi,
Quick question: When are the pcm hardware parameters surfaced to
userspace? Are those the ones I register in snd_pcm_new?
Thing is -- I have the problem that in theory, my codec can support
anything from 8KHz to 96KHz but when turning on digital output, it needs
to be restricted to the ones the digital output is ok with.
Of course I can trivially forbid turning on the digital out when a wrong
stream is open, but what about the other way around? When digital out is
turned on, and I forbid opening the stream when say 8KHz is selected,
does it screw over userspace and fail, or can I tell it what else to
use?
Similar things happen when you have digital input and it clocks both out
and in -- then you have to output the same bitrate as the input is
coming in at...
Thanks,
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 793 bytes --]
next reply other threads:[~2006-03-24 13:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-24 13:19 Johannes Berg [this message]
2006-03-27 15:37 ` pcm hw parameters? Takashi Iwai
2006-03-28 12:11 ` 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=1143206387.28247.22.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.