summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorDavid Overton <therealdave32@gmail.com>2012-05-17 21:52:28 +0100
committerJean-Michel Trivi <jmtrivi@google.com>2020-10-31 00:06:01 +0000
commitac918900ccad42ef19c2c98091e21dcae1ef87d1 (patch)
tree0ae4174deda48c8a82a2b8a0dd74c96119f2dfc0 /rs/java/android/renderscript/ProgramStore.java
parent053893568a74ce32852fcced40bc531a08f66fe6 (diff)
Only play sound effects if stream is not muted.
Calling playSoundEffect() currently results in audio data being sent to audioflinger regardless of whether or not the system stream is muted. Although this already produces no audio, when nothing else is using the audio system it does have the less desirable effect of waking up the hardware to play 3+ seconds of silence before audioflinger goes idle again - probably a waste of power. Change-Id: I81a6cb17efe4036285f4af0567c3f0a31dda1152 Signed-off-by: David Overton <therealdave32@gmail.com> (cherry picked from commit f0252a3a6ad5e1025003ef56a7723e9c8fabc077)
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions