OSDN Git Service

Add support for PCM audio recording in OpenSL ES.
authorJean-Michel Trivi <jmtrivi@google.com>
Tue, 20 Jul 2010 22:59:13 +0000 (15:59 -0700)
committerJean-Michel Trivi <jmtrivi@google.com>
Wed, 21 Jul 2010 00:41:33 +0000 (17:41 -0700)
commitbdb243c16be832f5853083480965a437b81df3c8
treea899a52b9422e222c5dfdb3dd2af12fe18a400c5
parent1f5702ed2239c79b701aa8cc3c675798b34a9656
Add support for PCM audio recording in OpenSL ES.

- add support for the AudioRecorder object in Android, not just for
  the conformance tests.
- map the SL AudioRecorder object to the AudioRecord class.
- only allow buffer queue data sinks.
- more work required for the recording format, and input device
  selection.

Change-Id: I4c65a8fa0ab162036f0eed4b756431f465325cd3
opensles/libopensles/Android.mk
opensles/libopensles/CAudioRecorder.c [new file with mode: 0644]
opensles/libopensles/IBufferQueue.c
opensles/libopensles/IEngine.c
opensles/libopensles/IRecord.c
opensles/libopensles/MPH_to.c
opensles/libopensles/android_AudioRecorder.cpp [new file with mode: 0644]
opensles/libopensles/android_AudioRecorder.h [new file with mode: 0644]
opensles/libopensles/classes.c
opensles/libopensles/sles_allinclusive.h