aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Kasten2012-01-19 15:35:28 -0600
committerGlenn Kasten2012-01-20 14:12:34 -0600
commit4c0f7e8e52f77fb914c5628e7ef5a974f70aab97 (patch)
tree8fd10d83a03a737e8ff2f2986228fc99d674fb79
parent65b4340d064f87c50a4271d5c4208a14c7e04cc7 (diff)
downloadplatform-external-tinyalsa-4c0f7e8e52f77fb914c5628e7ef5a974f70aab97.tar.gz
platform-external-tinyalsa-4c0f7e8e52f77fb914c5628e7ef5a974f70aab97.tar.xz
platform-external-tinyalsa-4c0f7e8e52f77fb914c5628e7ef5a974f70aab97.zip
Document avail_min
Change-Id: If5e7d892a1d78d83602a6bce57f8b466fa54dbd6
-rw-r--r--include/tinyalsa/asoundlib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/tinyalsa/asoundlib.h b/include/tinyalsa/asoundlib.h
index d6409fe..92a004c 100644
--- a/include/tinyalsa/asoundlib.h
+++ b/include/tinyalsa/asoundlib.h
@@ -84,6 +84,11 @@ struct pcm_config {
84 unsigned int start_threshold; 84 unsigned int start_threshold;
85 unsigned int stop_threshold; 85 unsigned int stop_threshold;
86 unsigned int silence_threshold; 86 unsigned int silence_threshold;
87
88 /* Minimum number of frames available before pcm_mmap_write() will actually
89 * write into the kernel buffer. Only used if the stream is opened in mmap mode
90 * (pcm_open() called with PCM_MMAP flag set). Use 0 for default.
91 */
87 int avail_min; 92 int avail_min;
88}; 93};
89 94