usbtv-audio.c (63ddf68de52efaac40a9287e44266ac30e71dd36) | usbtv-audio.c (146af9cb809c6b6a0f4e215570fb3f397cd55a21) |
---|---|
1/* 2 * Fushicai USBTV007 Audio-Video Grabber Driver 3 * 4 * Product web site: 5 * http://www.fushicai.com/products_detail/&productId=d05449ee-b690-42f9-a661-aa7353894bed.html 6 * 7 * Copyright (c) 2013 Federico Simoncelli 8 * All rights reserved. --- 297 unchanged lines hidden (view full) --- 306 schedule_work(&chip->snd_trigger); 307 308 return 0; 309} 310 311static snd_pcm_uframes_t snd_usbtv_pointer(struct snd_pcm_substream *substream) 312{ 313 struct usbtv *chip = snd_pcm_substream_chip(substream); | 1/* 2 * Fushicai USBTV007 Audio-Video Grabber Driver 3 * 4 * Product web site: 5 * http://www.fushicai.com/products_detail/&productId=d05449ee-b690-42f9-a661-aa7353894bed.html 6 * 7 * Copyright (c) 2013 Federico Simoncelli 8 * All rights reserved. --- 297 unchanged lines hidden (view full) --- 306 schedule_work(&chip->snd_trigger); 307 308 return 0; 309} 310 311static snd_pcm_uframes_t snd_usbtv_pointer(struct snd_pcm_substream *substream) 312{ 313 struct usbtv *chip = snd_pcm_substream_chip(substream); |
314 |
|
314 return chip->snd_buffer_pos; 315} 316 317static struct snd_pcm_ops snd_usbtv_pcm_ops = { 318 .open = snd_usbtv_pcm_open, 319 .close = snd_usbtv_pcm_close, 320 .ioctl = snd_pcm_lib_ioctl, 321 .hw_params = snd_usbtv_hw_params, --- 63 unchanged lines hidden --- | 315 return chip->snd_buffer_pos; 316} 317 318static struct snd_pcm_ops snd_usbtv_pcm_ops = { 319 .open = snd_usbtv_pcm_open, 320 .close = snd_usbtv_pcm_close, 321 .ioctl = snd_pcm_lib_ioctl, 322 .hw_params = snd_usbtv_hw_params, --- 63 unchanged lines hidden --- |