Split mmap-emulation code from hw layer

Move out mmap-emulation code from hw layer to its own plugin.
This cleans up the mess in pcm_hw.c.
This commit is contained in:
Takashi Iwai 2007-07-11 17:44:09 +02:00
parent 9bb7211f21
commit 4cdb17c601
10 changed files with 534 additions and 253 deletions

View file

@ -362,7 +362,9 @@ enum _snd_pcm_type {
SND_PCM_TYPE_IOPLUG,
/** External filter plugin */
SND_PCM_TYPE_EXTPLUG,
SND_PCM_TYPE_LAST = SND_PCM_TYPE_EXTPLUG
/** Mmap-emulation plugin */
SND_PCM_TYPE_MMAP_EMUL,
SND_PCM_TYPE_LAST = SND_PCM_TYPE_MMAP_EMUL
};
/** PCM type */