aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pcm.c b/pcm.c
index 0202d46..24ab333 100644
--- a/pcm.c
+++ b/pcm.c
@@ -928,6 +928,9 @@ int pcm_mmap_begin(struct pcm *pcm, void **areas, unsigned int *offset,
int pcm_mmap_commit(struct pcm *pcm, unsigned int offset, unsigned int frames)
{
+ /* not used */
+ (void) offset;
+
/* update the application pointer in userspace and kernel */
pcm_mmap_appl_forward(pcm, frames);
pcm_sync_ptr(pcm, 0);