Home
last modified time | relevance | path

Searched refs:alsa_rt (Results 1 – 1 of 1) sorted by relevance

/linux-3.4.99/sound/usb/6fire/
Dpcm.c197 struct snd_pcm_runtime *alsa_rt = sub->instance->runtime; in usb6fire_pcm_capture() local
199 u32 *dest = (u32 *) (alsa_rt->dma_area + sub->dma_off in usb6fire_pcm_capture()
200 * (alsa_rt->frame_bits >> 3)); in usb6fire_pcm_capture()
201 u32 *dest_end = (u32 *) (alsa_rt->dma_area + alsa_rt->buffer_size in usb6fire_pcm_capture()
202 * (alsa_rt->frame_bits >> 3)); in usb6fire_pcm_capture()
203 int bytes_per_frame = alsa_rt->channels << 2; in usb6fire_pcm_capture()
214 if (alsa_rt->format == SNDRV_PCM_FORMAT_S24_LE) in usb6fire_pcm_capture()
216 else if (alsa_rt->format == SNDRV_PCM_FORMAT_S32_LE) in usb6fire_pcm_capture()
224 dest += alsa_rt->channels; in usb6fire_pcm_capture()
230 dest = (u32 *) alsa_rt->dma_area; in usb6fire_pcm_capture()
[all …]