mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-03-29 07:57:59 -04:00
Some cleaning to mmap
This commit is contained in:
parent
a07e3c967b
commit
5860beac69
3 changed files with 11 additions and 16 deletions
|
|
@ -620,19 +620,11 @@ static int snd_pcm_plug_channel_info(snd_pcm_t *pcm, snd_pcm_channel_info_t *inf
|
|||
|
||||
static int snd_pcm_plug_mmap(snd_pcm_t *pcm ATTRIBUTE_UNUSED)
|
||||
{
|
||||
#if 0
|
||||
snd_pcm_plugin_t *plug = pcm->private;
|
||||
return snd_pcm_mmap(plug->slave);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int snd_pcm_plug_munmap(snd_pcm_t *pcm ATTRIBUTE_UNUSED)
|
||||
{
|
||||
#if 0
|
||||
snd_pcm_plugin_t *plug = pcm->private;
|
||||
return snd_pcm_munmap(plug->slave);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue