mic support

This commit is contained in:
Maxim Devaev
2025-01-19 18:15:08 +02:00
parent 918688e91d
commit 1ee096b17c
9 changed files with 326 additions and 51 deletions

View File

@@ -34,11 +34,11 @@
typedef struct {
snd_pcm_t *pcm;
snd_pcm_t *dev;
uint pcm_hz;
uint pcm_frames;
uz pcm_size;
snd_pcm_hw_params_t *pcm_params;
snd_pcm_hw_params_t *dev_params;
SpeexResamplerState *res;
OpusEncoder *enc;