OSDN Git Service

Allow creation of an audio effect on a session with no audio tracks.
authorEric Laurent <elaurent@google.com>
Wed, 28 Jul 2010 08:32:47 +0000 (01:32 -0700)
committerEric Laurent <elaurent@google.com>
Thu, 29 Jul 2010 09:34:40 +0000 (02:34 -0700)
commit493941b8d8a12ee843d9823c0177f8005a7be54f
tree4f65a1e32a5eb1ce656ab9acd9c5020707cc68fd
parent7b40518e56a3238b28b24a786a2ff22d5a425765
Allow creation of an audio effect on a session with no audio tracks.

This is necessary to allow creating and enabling an effect attached to a particular player
session before the playback is started. As a matter of fact, the implementation of the mediaplayer
does not create the AudioTrack before playback starts.

Change-Id: I1266e8885f9d756acc949303321aaac0fbf83e34
services/audioflinger/AudioFlinger.cpp
services/audioflinger/AudioFlinger.h