[client] audio: add audio playback latency interface and graph

This commit is contained in:
Geoffrey McRae
2022-01-17 22:13:41 +11:00
parent 5629655f74
commit 689cc53255
5 changed files with 81 additions and 5 deletions

View File

@@ -18,6 +18,9 @@
* Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <stdbool.h>
#include <purespice.h>
void audio_init(void);
void audio_free(void);
@@ -34,3 +37,5 @@ void audio_recordStart(int channels, int sampleRate, PSAudioFormat format);
void audio_recordStop(void);
void audio_recordVolume(int channels, const uint16_t volume[]);
void audio_recordMute(bool mute);
void audio_tick(unsigned long long tickCount);