commit | 29a0909c5f777230b9f34ef0703fed3cd4633833 | [log] [tgz] |
---|---|---|
author | Glenn Kasten <gkasten@google.com> | Mon Jan 16 14:37:12 2012 -0800 |
committer | Glenn Kasten <gkasten@google.com> | Tue Jan 17 15:33:20 2012 -0800 |
tree | b4f944cd3fffaa5f4d770b514a60147c3cbe0cfd | |
parent | 73d27c3d46ce9a19c0cc358d0b2788f1f51706d7 [diff] |
Replace run-time stream types by compile-time Use the AUDIO_STREAM_* constants defined in <system/audio.h> instead of dynamically looking up stream types from AudioManager. Replace a series of "if" statements by a switch. Change-Id: I6d015bc151c9ab97a02492e84c63298b1f6f31ac