diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2023-09-05 03:41:01 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2023-09-05 23:39:23 +0300 |
commit | 8cdcf6f747cd85ebc1425acfd9d8a9ebfa84e752 (patch) | |
tree | e4c6307c3b93e9fb3160702dd3f83b739be974e8 /applause.h | |
parent | 8ac5f63d63b298bb729dedde02e8c50d0efb17f4 (diff) | |
download | applause2-8cdcf6f747cd85ebc1425acfd9d8a9ebfa84e752.tar.gz |
moved common definitions into applause.h
Diffstat (limited to 'applause.h')
-rw-r--r-- | applause.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/applause.h b/applause.h new file mode 100644 index 0000000..c4d9d87 --- /dev/null +++ b/applause.h @@ -0,0 +1,11 @@ +/* This header is included from C and LuaJIT. */ + +enum applause_audio_state { + APPLAUSE_AUDIO_OK = 0, + APPLAUSE_AUDIO_INTERRUPTED, + APPLAUSE_AUDIO_XRUN, + APPLAUSE_AUDIO_INVALID_PORT +}; + +enum applause_audio_state applause_push_sample(int output_port_id, + double sample_double); |