commit | 8391e6f817edb2adc3f7250650aef496843c0626 | [log] [tgz] |
---|---|---|
author | Glenn Kasten <gkasten@google.com> | Wed Apr 03 17:19:41 2013 -0700 |
committer | Glenn Kasten <gkasten@google.com> | Fri Apr 05 08:47:17 2013 -0700 |
tree | 046214932cd85f0614a39f6eb1399ca22ce6a1cf | |
parent | 717ced18b52a427221d70880dc7b7d4ebcfffb49 [diff] |
Fix CTS tests for AudioTrack.setPlaybackHeadPosition() Tests were incorrectly expecting that setPlaybackHeadPosition() did something meaningful and returned success for a streaming AudioTrack. AudioTrack implementation now disallows setPlaybackHeadPosition for streaming. This change fixes the tests to use a static buffer AudioTrack with setPlaybackHeadPosition(). Bug: 8181114 Change-Id: I61c19b2f75351f18d2b312e065ef601c2cda37a3