OSDN Git Service

Use AUDIO_SESSION_ALLOCATE instead of 0
authorGlenn Kasten <gkasten@google.com>
Wed, 26 Jun 2013 16:25:47 +0000 (09:25 -0700)
committerGlenn Kasten <gkasten@google.com>
Fri, 20 Dec 2013 20:30:29 +0000 (12:30 -0800)
commitaea7ea06394bcb155972d82055d4ea59962e4051
treedd806ad4f77dc62e4fbd0b88022ee5b8b2403802
parentbd72d22097f78f5bd668b223bc8c94e351311e31
Use AUDIO_SESSION_ALLOCATE instead of 0

Also fix a couple of places where we were using AUDIO_SESSION_OUTPUT_MIX,
which happens to also be equal to 0, but has a different meaning.

Change-Id: I90e39be3b89f5021a96d9e3b8d10929013ca977f
include/media/AudioRecord.h
include/media/AudioTrack.h
media/libmedia/AudioRecord.cpp
media/libmedia/IAudioFlinger.cpp
services/audioflinger/AudioFlinger.cpp