blob: bb3cf8bee0e9fb5dac452f13497d6a1314b1961a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
From f5a956cbb1ad414b8da0127cf997cfe43d7a6bcb Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Tue, 31 Aug 2021 14:24:09 -0700
Subject: [PATCH] expose pcm_state in public API
---
include/tinyalsa/pcm.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/tinyalsa/pcm.h b/include/tinyalsa/pcm.h
index b40550c..1d77e53 100644
--- a/include/tinyalsa/pcm.h
+++ b/include/tinyalsa/pcm.h
@@ -359,6 +359,8 @@ int pcm_start(struct pcm *pcm);
int pcm_stop(struct pcm *pcm);
+int pcm_state(struct pcm *pcm);
+
int pcm_wait(struct pcm *pcm, int timeout);
long pcm_get_delay(struct pcm *pcm);
--
2.32.0
|