mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 17:17:16 +09:00
Fix messed up audio on some distros (those using pulseaudio?)
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
typedef struct {
|
||||
void *handle;
|
||||
unsigned int frames;
|
||||
double latency_seconds;
|
||||
} SoundDevice;
|
||||
|
||||
struct AudioInput {
|
||||
@@ -54,7 +53,7 @@ void sound_device_close(SoundDevice *device);
|
||||
|
||||
/*
|
||||
Returns the next chunk of audio into @buffer.
|
||||
Returns the number of bytes read, or a negative value on failure.
|
||||
Returns the number of frames read, or a negative value on failure.
|
||||
*/
|
||||
int sound_device_read_next_chunk(SoundDevice *device, void **buffer, double timeout_sec);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user