Implement audio support
Audio playback still has a delay about 1-2 seconds but it's usable. This also moves the platform policy class into its own namespace to be not specific to just window management.
This commit is contained in:
parent
23392b9732
commit
d729b8b9e4
27 changed files with 1243 additions and 770 deletions
|
|
@ -29,6 +29,10 @@ set(HWCOMPOSER_SOURCES
|
|||
|
||||
add_library(hwcomposer.anbox SHARED ${HWCOMPOSER_SOURCES})
|
||||
|
||||
set(AUDIO_SOURCES
|
||||
audio/audio_hw.cpp)
|
||||
add_library(audio.goldfish SHARED ${AUDIO_SOURCES})
|
||||
|
||||
# As we're adding Android specific bits in this project we can't
|
||||
# build this safely within default build anymore. We keep this
|
||||
# for easy integration into used IDEs.
|
||||
|
|
@ -38,3 +42,6 @@ set_target_properties(anboxd
|
|||
set_target_properties(hwcomposer.anbox
|
||||
PROPERTIES EXCLUDE_FROM_ALL 1 EXCLUDE_FROM_DEFAULT_BUILD 1)
|
||||
|
||||
set_target_properties(audio.goldfish
|
||||
PROPERTIES EXCLUDE_FROM_ALL 1 EXCLUDE_FROM_DEFAULT_BUILD 1)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue