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
Loading
Please register or sign in to comment