|
@@ -380,15 +380,6 @@ static int snd_line6_playback_close(struct snd_pcm_substream *substream)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-/* playback pointer callback */
|
|
|
-static snd_pcm_uframes_t
|
|
|
-snd_line6_playback_pointer(struct snd_pcm_substream *substream)
|
|
|
-{
|
|
|
- struct snd_line6_pcm *line6pcm = snd_pcm_substream_chip(substream);
|
|
|
-
|
|
|
- return line6pcm->out.pos_done;
|
|
|
-}
|
|
|
-
|
|
|
/* playback operators */
|
|
|
struct snd_pcm_ops snd_line6_playback_ops = {
|
|
|
.open = snd_line6_playback_open,
|
|
@@ -398,7 +389,7 @@ struct snd_pcm_ops snd_line6_playback_ops = {
|
|
|
.hw_free = snd_line6_hw_free,
|
|
|
.prepare = snd_line6_prepare,
|
|
|
.trigger = snd_line6_trigger,
|
|
|
- .pointer = snd_line6_playback_pointer,
|
|
|
+ .pointer = snd_line6_pointer,
|
|
|
};
|
|
|
|
|
|
int line6_create_audio_out_urbs(struct snd_line6_pcm *line6pcm)
|