capture.c (0cce284537fb42d9c28b9b31038ffc9b464555f5) | capture.c (e195a331c4124a6527e5e1b6fbd93a6b4a984d7b) |
---|---|
1/* 2 * Line 6 Linux USB driver 3 * 4 * Copyright (C) 2004-2010 Markus Grabner (grabner@icg.tugraz.at) 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License as 8 * published by the Free Software Foundation, version 2. --- 234 unchanged lines hidden (view full) --- 243{ 244 struct snd_line6_pcm *line6pcm = snd_pcm_substream_chip(substream); 245 246 line6_pcm_release(line6pcm, LINE6_STREAM_CAPTURE_HELPER); 247 return 0; 248} 249 250/* capture operators */ | 1/* 2 * Line 6 Linux USB driver 3 * 4 * Copyright (C) 2004-2010 Markus Grabner (grabner@icg.tugraz.at) 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License as 8 * published by the Free Software Foundation, version 2. --- 234 unchanged lines hidden (view full) --- 243{ 244 struct snd_line6_pcm *line6pcm = snd_pcm_substream_chip(substream); 245 246 line6_pcm_release(line6pcm, LINE6_STREAM_CAPTURE_HELPER); 247 return 0; 248} 249 250/* capture operators */ |
251struct snd_pcm_ops snd_line6_capture_ops = { | 251const struct snd_pcm_ops snd_line6_capture_ops = { |
252 .open = snd_line6_capture_open, 253 .close = snd_line6_capture_close, 254 .ioctl = snd_pcm_lib_ioctl, 255 .hw_params = snd_line6_hw_params, 256 .hw_free = snd_line6_hw_free, 257 .prepare = snd_line6_prepare, 258 .trigger = snd_line6_trigger, 259 .pointer = snd_line6_pointer, --- 38 unchanged lines hidden --- | 252 .open = snd_line6_capture_open, 253 .close = snd_line6_capture_close, 254 .ioctl = snd_pcm_lib_ioctl, 255 .hw_params = snd_line6_hw_params, 256 .hw_free = snd_line6_hw_free, 257 .prepare = snd_line6_prepare, 258 .trigger = snd_line6_trigger, 259 .pointer = snd_line6_pointer, --- 38 unchanged lines hidden --- |