From: "Clemens Ladisch" <cladisch@fastmail.net>
To: william estrada <MrUmunhum@popdial.com>, alsa-devel@alsa-project.org
Subject: Re: resetting an audio device?
Date: Thu, 20 Sep 2007 08:47:19 +0200 [thread overview]
Message-ID: <1190270839.2316.1211624329@webmail.messagingengine.com> (raw)
In-Reply-To: <46F1B942.8000102@popdial.com>
william estrada wrote:
> I got my alsa player code to work. Now I need to figure out how to
> reset the audio device? I don't want to close the device, just recycle
> it.
When the device is not running (i.e., after calling snd_pcm_drop()),
call snd_pcm_hw_free() to free the configuration; then you can set a
new configuration with the snd_pcm_hw_params* functions.
HTH
Clemens
next prev parent reply other threads:[~2007-09-20 6:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-20 0:05 resetting an audio device? william estrada
2007-09-20 6:47 ` Clemens Ladisch [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-09-20 2:36 william estrada
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=1190270839.2316.1211624329@webmail.messagingengine.com \
--to=cladisch@fastmail.net \
--cc=MrUmunhum@popdial.com \
--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.