Home | History | Annotate | Download | only in audio

Lines Matching full:music

363             // This avoid sending the ring tone or music tail into the earpiece or headset.
394 // Flag that ringtone volume must be limited to music volume until we exit MODE_RINGTONE
396 isStreamActive(AudioSystem::MUSIC, SONIFICATION_HEADSET_MUSIC_DELAY)) {
1213 // apply simple rule where global effects are attached to the same output as MUSIC streams
1215 routing_strategy strategy = getStrategy(AudioSystem::MUSIC);
1492 // Check if stream type is music, then only allow offload as of now.
1495 ALOGV("isOffloadSupported: stream_type != MUSIC, returning false");
2512 // NOTE: SYSTEM stream uses MEDIA strategy because muting music and switching outputs
2515 case AudioSystem::MUSIC:
2524 case AudioSystem::MUSIC:
2549 } else if (isStreamActiveRemotely(AudioSystem::MUSIC,
2556 } else if (isStreamActive(AudioSystem::MUSIC, SONIFICATION_RESPECTFUL_AFTER_MUSIC_DELAY)) {
3231 if (stream == AudioSystem::MUSIC &&
3243 // - if music is playing, always limit the volume to current music volume,
3257 // when the phone is ringing we must consider that music could have been paused just before
3258 // by the music application and behave as if music was active if the last music track was
3260 if (isStreamActive(AudioSystem::MUSIC, SONIFICATION_HEADSET_MUSIC_DELAY) ||
3263 float musicVol = computeVolume(AudioSystem::MUSIC,
3264 mStreams[AudioSystem::MUSIC].getVolumeIndex(musicDevice),