All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: loody <miloody@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: where to get snd_pcm_hardware info when usb audio device plug in?
Date: Wed, 28 Aug 2013 16:22:25 +0200	[thread overview]
Message-ID: <521E07A1.5020807@ladisch.de> (raw)
In-Reply-To: <CANudz+uTk+GDAj=NfHQ_6ZrL6=ZmWJfXAnwRqk7yHPr4s0Jg1A@mail.gmail.com>

loody wrote:
> is it possible to get snd_pcm_hardware information in /proc, /sys or
> anywhere when usb audio device plug in?
>
> if no, is there api I can take in usermode to get snd_pcm_hardware of
> this usb audio device?

Something like this?
http://download.atmark-techno.com/misc/demos/usb-audio-a500-howto/hw_params.c


Regards,
Clemens

  reply	other threads:[~2013-08-28 14:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-28 13:18 where to get snd_pcm_hardware info when usb audio device plug in? loody
2013-08-28 14:22 ` Clemens Ladisch [this message]
2013-08-29  3:53   ` loody
2013-09-08  8:25     ` loody
2013-09-08 12:28       ` Clemens Ladisch
2013-09-09  8:12         ` loody
2013-09-09  8:17           ` Clemens Ladisch

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=521E07A1.5020807@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=miloody@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 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.