aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordvdli <70133153+dvdli@users.noreply.github.com>2022-01-05 09:40:14 +0800
committerGitHub <noreply@github.com>2022-01-05 09:40:14 +0800
commitfa1136edcaf3e14b8030187fb7d206807f582dfa (patch)
treeb78b7161eda12d20825b126a821f32c96fb8738e /include
parent8238437d5d5a944efa0dd08a242034f249196944 (diff)
parent25096d382c46416c1546a26a8bd80ed1c62bcd08 (diff)
Merge pull request #222 from dvdli/tinyalsa-dev
Fix a type issue and a mixer control issue.
Diffstat (limited to 'include')
-rw-r--r--include/tinyalsa/pcm.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/tinyalsa/pcm.h b/include/tinyalsa/pcm.h
index 5c11e2a..9fca92d 100644
--- a/include/tinyalsa/pcm.h
+++ b/include/tinyalsa/pcm.h
@@ -217,16 +217,16 @@ struct pcm_config {
* silence_size : 0
*/
/** The minimum number of frames required to start the PCM */
- unsigned int start_threshold;
+ unsigned long start_threshold;
/** The minimum number of frames required to stop the PCM */
- unsigned int stop_threshold;
+ unsigned long stop_threshold;
/** The minimum number of frames to silence the PCM */
- unsigned int silence_threshold;
+ unsigned long silence_threshold;
/** The number of frames to overwrite the playback buffer when the playback underrun is greater
* than the silence threshold */
- unsigned int silence_size;
+ unsigned long silence_size;
- unsigned int avail_min;
+ unsigned long avail_min;
};
/** Enumeration of a PCM's hardware parameters.