logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

0002-expose-pcm_state-in-public-API.patch (639B)


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