[feat] audio capture supported on MacOSX

This commit is contained in:
dijunkun
2025-07-02 19:25:21 +08:00
parent e52ec6cde2
commit c13e2613b6
8 changed files with 225 additions and 26 deletions

View File

@@ -24,7 +24,8 @@ void data_callback(ma_device* pDevice, void* pOutput, const void* pInput,
}
ptr->GetCallback()((unsigned char*)pInput,
frameCount * ma_get_bytes_per_frame(format_, channels_));
frameCount * ma_get_bytes_per_frame(format_, channels_),
"audio");
}
(void)pOutput;