mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
Added power management functions and defines.
This commit is contained in:
parent
23d8f9a0b0
commit
3c59c6b11d
19 changed files with 195 additions and 0 deletions
|
|
@ -166,6 +166,11 @@ static snd_pcm_sframes_t snd_pcm_null_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t f
|
|||
}
|
||||
}
|
||||
|
||||
static int snd_pcm_null_resume(snd_pcm_t *pcm ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static snd_pcm_sframes_t snd_pcm_null_fwd(snd_pcm_t *pcm, snd_pcm_uframes_t size)
|
||||
{
|
||||
snd_pcm_null_t *null = pcm->private_data;
|
||||
|
|
@ -305,6 +310,7 @@ snd_pcm_fast_ops_t snd_pcm_null_fast_ops = {
|
|||
drain: snd_pcm_null_drain,
|
||||
pause: snd_pcm_null_pause,
|
||||
rewind: snd_pcm_null_rewind,
|
||||
resume: snd_pcm_null_resume,
|
||||
writei: snd_pcm_null_writei,
|
||||
writen: snd_pcm_null_writen,
|
||||
readi: snd_pcm_null_readi,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue