This commit is contained in:
Mark Allyn
2026-11-14 10:39:12 -08:00
parent fe87dc6ec8
commit 826ca13fe1
60 changed files with 25973 additions and 6 deletions

View File

@@ -77,6 +77,9 @@ class alsa_read_class {
alsa_read_class();
INPUT_SOUND_DATA_TYPE *initialize_alsa(char *device_name);
int read_alsa();
// Finds the first USB audio card with a capture device and writes
// "plughw:CARD=<id>,DEV=<n>" into name. Returns 0 on success, -1 if none.
static int find_usb_capture_device(char *name, size_t name_size);
private:
INPUT_SOUND_DATA_TYPE *alsa_input_data;