aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordvdli <dvdli@google.com>2020-10-28 22:56:53 +0800
committerdvdli <dvdli@google.com>2020-10-28 22:56:53 +0800
commite43e85c1885d935e36c53fc04c4f1660c2b3fd3a (patch)
tree2ec47946b04a22b3855a5c575ef9c5373db74de8 /include
parent72216211c7a5f29510a2f50dbdc70b35af44fb3a (diff)
AOSP CL "pcm: add API for MMAP NO IRQ mode"
https://android.googlesource.com/platform/external/tinyalsa/+/5b15b4cbd9e779a4ecd87e0f757fb0f8f6b9bcb8 commit 5b15b4cbd9e779a4ecd87e0f757fb0f8f6b9bcb8 author Eric Laurent <elaurent@google.com> pcm: add API for MMAP NO IRQ mode Bug: 33398120 Test: build Change-Id: Iecb47f76337d98ceb01044ca488a04e1f350c6bc
Diffstat (limited to 'include')
-rw-r--r--include/tinyalsa/pcm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tinyalsa/pcm.h b/include/tinyalsa/pcm.h
index 99ca786..cdc31a5 100644
--- a/include/tinyalsa/pcm.h
+++ b/include/tinyalsa/pcm.h
@@ -343,6 +343,8 @@ int pcm_mmap_commit(struct pcm *pcm, unsigned int offset, unsigned int frames);
int pcm_mmap_avail(struct pcm *pcm);
+int pcm_mmap_get_hw_ptr(struct pcm* pcm, unsigned int *hw_ptr, struct timespec *tstamp);
+
int pcm_get_poll_fd(struct pcm *pcm);
int pcm_link(struct pcm *pcm1, struct pcm *pcm2);