playback.c (0cce284537fb42d9c28b9b31038ffc9b464555f5) | playback.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. --- 379 unchanged lines hidden (view full) --- 388 389/* close playback callback */ 390static int snd_line6_playback_close(struct snd_pcm_substream *substream) 391{ 392 return 0; 393} 394 395/* playback 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. --- 379 unchanged lines hidden (view full) --- 388 389/* close playback callback */ 390static int snd_line6_playback_close(struct snd_pcm_substream *substream) 391{ 392 return 0; 393} 394 395/* playback operators */ |
396struct snd_pcm_ops snd_line6_playback_ops = { | 396const struct snd_pcm_ops snd_line6_playback_ops = { |
397 .open = snd_line6_playback_open, 398 .close = snd_line6_playback_close, 399 .ioctl = snd_pcm_lib_ioctl, 400 .hw_params = snd_line6_hw_params, 401 .hw_free = snd_line6_hw_free, 402 .prepare = snd_line6_prepare, 403 .trigger = snd_line6_trigger, 404 .pointer = snd_line6_pointer, --- 38 unchanged lines hidden --- | 397 .open = snd_line6_playback_open, 398 .close = snd_line6_playback_close, 399 .ioctl = snd_pcm_lib_ioctl, 400 .hw_params = snd_line6_hw_params, 401 .hw_free = snd_line6_hw_free, 402 .prepare = snd_line6_prepare, 403 .trigger = snd_line6_trigger, 404 .pointer = snd_line6_pointer, --- 38 unchanged lines hidden --- |