aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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