我有一个问题。我可以使用任何音频流类型的(STREAM_MUSIC, STREAM_RING, STREAM_ALARM, STREAM_SYSTEM, etc..)在我的SoundPoolActivity,以控制SoundPool音频音量的例子,“警报音量”。使用
SoundPool = new SoundPool(1, AudioManager.STREAM_ALARM, 0);发布于 2015-08-09 19:02:53
STREAM_ALARM The audio stream for alarms
STREAM_DTMF The audio stream for DTMF Tones
STREAM_MUSIC The audio stream for music playback
STREAM_NOTIFICATION The audio stream for notifications
STREAM_RING The audio stream for the phone ring
STREAM_SYSTEM The audio stream for system sounds
STREAM_VOICE_CALL The audio stream for phone calls参考以下链接:https://stackoverflow.com/a/24655221/1660986和http://developer.android.com/reference/android/media/AudioManager.html
https://stackoverflow.com/questions/31906105
复制相似问题