diff options
author | Mark Farrugia <mark.farrugia@fiberdyne.com.au> | 2018-09-03 16:00:08 +1000 |
---|---|---|
committer | Mark Farrugia <mark.farrugia@fiberdyne.com.au> | 2018-10-26 17:27:31 +1100 |
commit | 8be23a7c5fafd44296962620299569bf70529f3d (patch) | |
tree | dc95fbec23445de5de68879e31dbc7131ee066c8 | |
parent | 449c968072a9e6b95f10a28f4b426b70e2883f20 (diff) |
Remove leftover variable 'hw_frame_idx'
Remove remnant of earlier implementation
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
-rw-r--r-- | alsa-pcm.c | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -246,14 +246,10 @@ static int pcm_trigger(struct snd_pcm_substream *substream, int cmd) */ static snd_pcm_uframes_t pcm_pointer(struct snd_pcm_substream *substream) { - struct avirt_alsa_dev_group *group; - - DINFO(AP_LOGNAME, ""); + // Do additional Audio Path 'pointer' callback + DO_AUDIOPATH_CB(pointer, substream); - group = avirt_alsa_get_dev_group(substream->stream); - CHK_NULL(group); - - return group->streams[substream->pcm->device].hw_frame_idx; + return 0; } /** |