Home | History | Annotate | Download | only in audio

Lines Matching refs:MUSIC

356             // This avoid sending the ring tone or music tail into the earpiece or headset.
387 // Flag that ringtone volume must be limited to music volume until we exit MODE_RINGTONE
389 isStreamActive(AudioSystem::MUSIC, SONIFICATION_HEADSET_MUSIC_DELAY)) {
1196 // apply simple rule where global effects are attached to the same output as MUSIC streams
1198 routing_strategy strategy = getStrategy(AudioSystem::MUSIC);
1475 // Check if stream type is music, then only allow offload as of now.
1478 ALOGV("isOffloadSupported: stream_type != MUSIC, returning false");
2294 // NOTE: SYSTEM stream uses MEDIA strategy because muting music and switching outputs
2297 case AudioSystem::MUSIC:
2306 case AudioSystem::MUSIC:
2331 } else if (isStreamActiveRemotely(AudioSystem::MUSIC,
2338 } else if (isStreamActive(AudioSystem::MUSIC, SONIFICATION_RESPECTFUL_AFTER_MUSIC_DELAY)) {
3005 if (stream == AudioSystem::MUSIC &&
3019 // - if music is playing, always limit the volume to current music volume,
3033 // when the phone is ringing we must consider that music could have been paused just before
3034 // by the music application and behave as if music was active if the last music track was
3036 if (isStreamActive(AudioSystem::MUSIC, SONIFICATION_HEADSET_MUSIC_DELAY) ||
3039 float musicVol = computeVolume(AudioSystem::MUSIC,
3040 mStreams[AudioSystem::MUSIC].getVolumeIndex(musicDevice),