* Re: resetting an audio device?
@ 2007-09-20 2:36 william estrada
0 siblings, 0 replies; 3+ messages in thread
From: william estrada @ 2007-09-20 2:36 UTC (permalink / raw)
To: alsa-devel
I don't need item one, it works now.
But I would like to see the better API docs.
--
William Estrada
MrUmunhum@popdial.com
Mt-Umunhum-Wireless.net ( http://Mt-Umunhum-Wireless.net )
Ymessenger: MrUmunhum
> Hi guys,
>
> 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. Any pointers?
>
> Also, where are the documents for all of those helper subroutes? Like
> snd_pcm_hw_params_get_period_time, snd_pcm_hw_params_any, etc.
>
> Thanks for your time.
^ permalink raw reply [flat|nested] 3+ messages in thread
* resetting an audio device?
@ 2007-09-20 0:05 william estrada
2007-09-20 6:47 ` Clemens Ladisch
0 siblings, 1 reply; 3+ messages in thread
From: william estrada @ 2007-09-20 0:05 UTC (permalink / raw)
To: alsa-devel
Hi guys,
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. Any pointers?
Also, where are the documents for all of those helper subroutes? Like
snd_pcm_hw_params_get_period_time, snd_pcm_hw_params_any, etc.
Thanks for your time.
--
William Estrada
MrUmunhum@popdial.com
Mt-Umunhum-Wireless.net ( http://Mt-Umunhum-Wireless.net )
Ymessenger: MrUmunhum
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: resetting an audio device?
2007-09-20 0:05 william estrada
@ 2007-09-20 6:47 ` Clemens Ladisch
0 siblings, 0 replies; 3+ messages in thread
From: Clemens Ladisch @ 2007-09-20 6:47 UTC (permalink / raw)
To: william estrada, alsa-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-09-20 6:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-20 2:36 resetting an audio device? william estrada
-- strict thread matches above, loose matches on Subject: below --
2007-09-20 0:05 william estrada
2007-09-20 6:47 ` Clemens Ladisch
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.