Lines Matching defs:pcm
23 #include <sound/pcm.h>
488 struct snd_pcm *pcm;
3833 snd_pcm_period_elapsed(hdsp->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream);
3836 snd_pcm_period_elapsed(hdsp->pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream);
4915 struct snd_pcm *pcm;
4918 if ((err = snd_pcm_new(card, hdsp->card_name, 0, 1, 1, &pcm)) < 0)
4921 hdsp->pcm = pcm;
4922 pcm->private_data = hdsp;
4923 strcpy(pcm->name, hdsp->card_name);
4925 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_hdsp_playback_ops);
4926 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_hdsp_capture_ops);
4928 pcm->info_flags = SNDRV_PCM_INFO_JOINT_DUPLEX;
5020 "Error creating pcm interface\n");