Read audio data from pulseaudio as it's available and buffer it. Fixes audio recording on pulseaudio (and some pipewire configs)

This commit is contained in:
dec05eba
2022-09-22 01:44:45 +02:00
parent 5ba4c05953
commit 0059724fdc
3 changed files with 132 additions and 38 deletions

View File

@@ -20,8 +20,6 @@
typedef struct {
void *handle;
void *buffer;
int buffer_size;
unsigned int frames;
} SoundDevice;