mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
Added snd_pcm_reset to API
This commit is contained in:
parent
206f489fe1
commit
8c080ce9dd
11 changed files with 91 additions and 0 deletions
|
|
@ -97,6 +97,13 @@ static int snd_pcm_file_prepare(snd_pcm_t *pcm)
|
|||
return snd_pcm_prepare(file->slave);
|
||||
}
|
||||
|
||||
static int snd_pcm_file_reset(snd_pcm_t *pcm)
|
||||
{
|
||||
snd_pcm_file_t *file = pcm->private;
|
||||
/* FIXME */
|
||||
return snd_pcm_reset(file->slave);
|
||||
}
|
||||
|
||||
static int snd_pcm_file_start(snd_pcm_t *pcm)
|
||||
{
|
||||
snd_pcm_file_t *file = pcm->private;
|
||||
|
|
@ -325,6 +332,7 @@ snd_pcm_fast_ops_t snd_pcm_file_fast_ops = {
|
|||
state: snd_pcm_file_state,
|
||||
delay: snd_pcm_file_delay,
|
||||
prepare: snd_pcm_file_prepare,
|
||||
reset: snd_pcm_file_reset,
|
||||
start: snd_pcm_file_start,
|
||||
drop: snd_pcm_file_drop,
|
||||
drain: snd_pcm_file_drain,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue