Lines Matching defs:pcm
23 #include <sound/pcm.h>
24 #include <sound/pcm-indirect.h>
700 struct snd_pcm *pcm;
703 /* create first pcm device with one outputs and one input */
704 err = snd_pcm_new(hal2->card, "SGI HAL2 Audio", 0, 1, 1, &pcm);
708 pcm->private_data = hal2;
709 strcpy(pcm->name, "SGI HAL2");
712 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK,
714 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
716 snd_pcm_set_managed_buffer_all(pcm, SNDRV_DMA_TYPE_CONTINUOUS,