aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}
/**