Lines Matching refs:pcm
54 struct snd_pcm_substream *pcm; member
90 struct snd_pcm_runtime *runtime = isight->pcm->runtime; in isight_update_pointers()
104 snd_pcm_period_elapsed(isight->pcm); in isight_update_pointers()
117 runtime = isight->pcm->runtime; in isight_samples()
135 snd_pcm_stop_xrun(isight->pcm); in isight_pcm_abort()
147 runtime = isight->pcm->runtime; in isight_dropped_samples()
459 struct snd_pcm *pcm; in isight_create_pcm() local
462 err = snd_pcm_new(isight->card, "iSight", 0, 0, 1, &pcm); in isight_create_pcm()
465 pcm->private_data = isight; in isight_create_pcm()
466 strcpy(pcm->name, "iSight"); in isight_create_pcm()
467 isight->pcm = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream; in isight_create_pcm()
468 isight->pcm->ops = &ops; in isight_create_pcm()