summaryrefslogtreecommitdiffstats
path: root/app/main.cpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2017-10-23 19:50:33 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2017-10-23 21:55:02 +0900
commit25009f24b154f38628928a363d0b52b2d664c9c5 (patch)
treeed50aa60e433bee8c8db8c5ced7bb7ce0153f8b7 /app/main.cpp
parent4153b3eef4907427a27e318a21f976132ca9da3b (diff)
Adopt statemachine class to manage sound right
It seems better to have statemachine to be simple because app has some state if it works with sound state. sound state is like play, pause, stop, active, inactive and so on. This is same as AAAA I think because AAAA and SoundManager have same concept I add states into this app as following playing ... app has sound right and output sound lostSoundRight ... app lost sound right. The last state is playing temporaryLostSoundRight ... app lost sound right temporarily. The last state is playing haveSoundRight ... app has sound right to output. App can output sound stop ... app doesn't have sound right pause ... app's sound right is temporarily lost Change-Id: I938ed8d9038252deaab2a1e972cb8d76e5401b4b Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'app/main.cpp')
0 files changed, 0 insertions, 0 deletions