mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-03 09:01:52 -05:00
Fixed mmaped access..
This commit is contained in:
parent
8abf9370b5
commit
8328751e64
5 changed files with 15 additions and 39 deletions
|
|
@ -504,6 +504,15 @@ int snd_pcm_plugin_status(snd_pcm_t *pcm, snd_pcm_channel_status_t *status)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int snd_pcm_plugin_prepare(snd_pcm_t *pcm, int channel)
|
||||
{
|
||||
int err;
|
||||
|
||||
if ((err = snd_pcm_plugin_action(pcm, channel, PREPARE))<0)
|
||||
return err;
|
||||
return snd_pcm_channel_prepare(pcm, channel);
|
||||
}
|
||||
|
||||
int snd_pcm_plugin_drain_playback(snd_pcm_t *pcm)
|
||||
{
|
||||
int err;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue