OSDN Git Service

Pass stereo gains as packed minifloat
authorGlenn Kasten <gkasten@google.com>
Sat, 22 Mar 2014 00:53:17 +0000 (17:53 -0700)
committerGlenn Kasten <gkasten@google.com>
Mon, 19 May 2014 16:46:25 +0000 (09:46 -0700)
commitc56f3426099a3cf2d07ccff8886050c7fbce140f
tree9e486a809f9d500a70fd26c4e1d2596ded190dbe
parent7c96d53a65085f42ac2b6d416cbc16fd36ed72ff
Pass stereo gains as packed minifloat

This will allow (eventually) a greater dynamic range for gains.
However there are still a few remaining places in effects and mixer
that will also need to be changed in order to get the full benefit.

Also fixes a minor bug: was not checking for NaN in AudioTrack C++.

Change-Id: I63bce9e82e0a61546d8ff475fb94bcb700d99c96
12 files changed:
include/private/media/AudioTrackShared.h
media/libmedia/AudioTrack.cpp
media/libmedia/AudioTrackShared.cpp
media/mediaserver/Android.mk
services/audioflinger/AudioFlinger.h
services/audioflinger/AudioMixer.h
services/audioflinger/Effects.h
services/audioflinger/FastMixer.cpp
services/audioflinger/FastMixerState.h
services/audioflinger/PlaybackTracks.h
services/audioflinger/Threads.cpp
services/audioflinger/Tracks.cpp