diff options
author | Dima Zavin <dima@android.com> | 2011-04-19 19:04:32 -0700 |
---|---|---|
committer | Dima Zavin <dima@android.com> | 2011-04-27 16:20:22 -0700 |
commit | 2986f5bed370709c10d24c058591d775e6092d89 (patch) | |
tree | 3c2e1233bcf886257c45e538b7c30483d5c0bec4 /services/audioflinger/AudioFlinger.h | |
parent | 31f18889a2c3cd5580db8d2a497a96b7b8a6fd95 (diff) | |
download | frameworks_base-2986f5bed370709c10d24c058591d775e6092d89.zip frameworks_base-2986f5bed370709c10d24c058591d775e6092d89.tar.gz frameworks_base-2986f5bed370709c10d24c058591d775e6092d89.tar.bz2 |
audioflinger: don't do work in constructor, instead do it in onFirstRef
Change-Id: I22d9e01821816c3beb52b014330386c7fd2f0411
Signed-off-by: Dima Zavin <dima@android.com>
Diffstat (limited to 'services/audioflinger/AudioFlinger.h')
-rw-r--r-- | services/audioflinger/AudioFlinger.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h index 94f7861..22e5116 100644 --- a/services/audioflinger/AudioFlinger.h +++ b/services/audioflinger/AudioFlinger.h @@ -212,6 +212,8 @@ private: AudioFlinger(); virtual ~AudioFlinger(); + status_t initCheck() const; + virtual void onFirstRef(); audio_hw_device_t* findSuitableHwDev_l(uint32_t devices); // Internal dump utilites. |