OSDN Git Service

Full volume on remote submix for apps that need it
authorJean-Michel Trivi <jmtrivi@google.com>
Thu, 2 Oct 2014 00:49:29 +0000 (17:49 -0700)
committerJean-Michel Trivi <jmtrivi@google.com>
Tue, 7 Oct 2014 16:09:41 +0000 (09:09 -0700)
commitba5270b88798c66fefc17a1b25b27894e4fb7862
tree325c18b65f5dac9d02ae6965e44e2f2c19303113
parent4c334f3def076d2940b53641c932050b1e4ce286
Full volume on remote submix for apps that need it

If an AudioRecord is created with the "fixedVolume" tag
  when recording from REMOTE_SUBMIX, treat the
  device DEVICE_OUT_REMOTE_SUBMIX as a fixed full volume
  device during the recording. Also register a death
  handler during the recording.
  Otherwise this is a no-op.

Bug 17635294

Change-Id: I8d26fe777047126f34308e1e1b7ac28ba269ad89
media/java/android/media/AudioRecord.java
media/java/android/media/AudioService.java
media/java/android/media/IAudioService.aidl