Lines Matching defs:pcm
2 * pcm emulation on emu8000 wavetable
25 #include <sound/pcm.h>
28 * define the following if you want to use this pcm with non-interleaved mode
35 * pcm.emu8k {
37 * slave.pcm {
225 * open pcm
684 static void snd_emu8000_pcm_free(struct snd_pcm *pcm)
686 struct snd_emu8000 *emu = pcm->private_data;
687 emu->pcm = NULL;
692 struct snd_pcm *pcm;
695 if ((err = snd_pcm_new(card, "Emu8000 PCM", index, 1, 0, &pcm)) < 0)
697 pcm->private_data = emu;
698 pcm->private_free = snd_emu8000_pcm_free;
699 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &emu8k_pcm_ops);
700 emu->pcm = pcm;
702 snd_device_register(card, pcm);