diff options
author | Eric Laurent <elaurent@google.com> | 2011-11-11 15:42:52 -0800 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2011-11-11 16:33:24 -0800 |
commit | f9c361dec4b9380db2b7eeaed68c828e154681ed (patch) | |
tree | 28470dce4b4c925746499203c866112be04ad872 /opengl/java/android/opengl/Texture.java | |
parent | 843e04d977fd348ed474da1d3c6a62e7dc837444 (diff) |
audioflinger: fix noise when skipping to next song
When audio effects are enabled, a noise can be heard at the
beginning of the new song when skipping to next song in music app.
This is because some effects (especially virtualizer) have a tail.
This tail was not played when previous song was stopped because effects were
not processed when no tracks were present on a given session. This is to
reduce CPU load when effects are enabled but no audio is playing.
The tail was then rendered when the new song was started.
Added a delay before stopping effect process after all tracks have been removed from a session.
Issue 5584880.
Change-Id: I815e0f7441f9302e8dfe413dc269a94e4cc6fd95
Diffstat (limited to 'opengl/java/android/opengl/Texture.java')
0 files changed, 0 insertions, 0 deletions