-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to send Mic Data? #28
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is probably a noob question and I've only just started to try to use USB, so please bear with me.
The file usbd_audio_mic_if.c/h has lots of stubs that don't do anything. If I breakpoint them I can see them being called, this is fine, this allows me to hook can do various things.
But how do I send the audio data.?
In usbd_aucio_mic.c there is a function
uint8_t USBD_AUDIO_MIC_Data_Transfer(USBD_HandleTypeDef *pdev, int16_t *audioData, uint16_t PCMSamples)
Which looks like the right one, but how do I find a reference to
USBD_HandleTypeDef *pdev
?Please can you tell me how to send the data?
Thank you.
The text was updated successfully, but these errors were encountered: