Lines Matching full:music
326 // Flag that ringtone volume must be limited to music volume until we exit MODE_RINGTONE
328 (hwOutputDesc->mRefCount[AudioSystem::MUSIC] ||
597 // store time at which the last music track was stopped - see computeVolume()
598 if (stream == AudioSystem::MUSIC) {
1209 // mute music on A2DP output if a notification or ringtone is playing
1231 // mute media strategy to avoid outputting sound on hardware output while music stream
1232 // is switched from A2DP output and before music is paused by music application
1237 // unmute music on A2DP output if a notification or ringtone is playing
1390 // NOTE: SYSTEM stream uses MEDIA strategy because muting music and switching outputs
1393 case AudioSystem::MUSIC:
1671 // - if music is playing, always limit the volume to current music volume,
1681 // when the phone is ringing we must consider that music could have been paused just before
1682 // by the music application and behave as if music was active if the last music track was
1684 if (outputDesc->mRefCount[AudioSystem::MUSIC] || mLimitRingtoneVolume) {
1685 float musicVol = computeVolume(AudioSystem::MUSIC, mStreams[AudioSystem::MUSIC].mIndexCur, output, device);