Recording a wav file from the mic in Android - problems

后端 未结 4 1059
误落风尘
误落风尘 2021-02-03 15:33

I need to be able to create a WAV file using the mic in Android. Currently, I\'m having a lot of trouble. So far, this is my situation. I\'m using parts of the micDroid project

4条回答
  •  旧巷少年郎
    2021-02-03 16:40

    CHANNEL_CONFIGURATION_MONO is deprecated as far as i know, use CHANNEL_IN_MONO. consider looking at rehearsalassistant project, afaik they use AudioRecord class, too. samplerates should be chosen to fit the standard sample rates like explained in this wikipedia article.

提交回复
热议问题