aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-09-03 16:00:08 +1000
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-26 17:27:31 +1100
commit8be23a7c5fafd44296962620299569bf70529f3d (patch)
treedc95fbec23445de5de68879e31dbc7131ee066c8
parent449c968072a9e6b95f10a28f4b426b70e2883f20 (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.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/alsa-pcm.c b/alsa-pcm.c
index d0fa228..faa7a83 100644
--- a/alsa-pcm.c
+++ b/alsa-pcm.c
@@ -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;
}
/**