tinyalsa

recording stereo with AudioRecord in android

懵懂的女人 提交于 2019-12-19 03:34:12
问题 I'm looking for a definitive answer on getting audioRecord to use both the top mounted and bottom mounted microphones so I don't have 2 identical (mono) channels. I'd like to know what polling I could do before hand to ensure that a gadget will provide a good stream. I'm working on a galaxy nexus 5, and can't get that to work so I'm no way near getting it stable across all the devices. I've tried all the MediaRecorder.AudioSource . AudioRecord audioInputStream1 = new AudioRecord(Media

recording stereo with AudioRecord in android

不问归期 提交于 2019-12-19 03:32:53
问题 I'm looking for a definitive answer on getting audioRecord to use both the top mounted and bottom mounted microphones so I don't have 2 identical (mono) channels. I'd like to know what polling I could do before hand to ensure that a gadget will provide a good stream. I'm working on a galaxy nexus 5, and can't get that to work so I'm no way near getting it stable across all the devices. I've tried all the MediaRecorder.AudioSource . AudioRecord audioInputStream1 = new AudioRecord(Media

Android: pcm_open failed cannot open device '/dev/snd/pcmC0D1p'

我怕爱的太早我们不能终老 提交于 2019-12-11 10:01:17
问题 A custom piece of hardware is running Android with the audio drivers installed. An simple Android app is created to play some audio using media player, the app is tested on a emulator so it works for sure. When running the device on the hardware, error message from logcat displays the following many times: 01-01 01:09:16.355 2792-3186/? E/audio_hw_primary﹕ pcm_open(PCM_CARD) failed: cannot open device '/dev/snd/pcmC0D1p': No such file or directory 01-01 01:09:16.375 2792-3186/? E/audio_hw