mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
Fix misc compile warnings
Shut up misc compile warnings from gcc: pcm_plug.c: In function ‘snd_pcm_plug_change_mmap’: pcm_plug.c:608: warning: enumeration value ‘SND_PCM_ACCESS_MMAP_INTERLEAVED’ not handled in switch pcm_plug.c:608: warning: enumeration value ‘SND_PCM_ACCESS_MMAP_NONINTERLEAVED’ not handled in switch pcm_plug.c:608: warning: enumeration value ‘SND_PCM_ACCESS_MMAP_COMPLEX’ not handled in switch Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
cb66600dd3
commit
548dd9be90
1 changed files with 2 additions and 0 deletions
|
|
@ -612,6 +612,8 @@ static int snd_pcm_plug_change_mmap(snd_pcm_t *pcm, snd_pcm_t **new,
|
|||
case SND_PCM_ACCESS_RW_NONINTERLEAVED:
|
||||
slv->access = SND_PCM_ACCESS_MMAP_NONINTERLEAVED;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue