Home
last modified time | relevance | path

Searched refs:MAX_MEDIA_VOLUME (Results 1 - 4 of 4) sorted by relevance

/foundation/multimedia/media_foundation/engine/scene/player/lite/
H A Dhiplayer_impl.cpp24 const float MAX_MEDIA_VOLUME = 100.0f; member
245 if (leftVolume < 0 || leftVolume > MAX_MEDIA_VOLUME || rightVolume < 0 || rightVolume > MAX_MEDIA_VOLUME) { in SetVolume()
257 volume /= MAX_MEDIA_VOLUME; // normalize to 0~1 in SetVolume()
/foundation/multimedia/media_foundation/engine/scene/player/standard/
H A Dhiplayer_impl.cpp33 const float MAX_MEDIA_VOLUME = 1.0f; // standard interface volume is between 0 to 1. member
339 if (leftVolume < 0 || leftVolume > MAX_MEDIA_VOLUME || rightVolume < 0 || rightVolume > MAX_MEDIA_VOLUME) { in SetVolume()
351 volume /= MAX_MEDIA_VOLUME; // normalize to 0~1 in SetVolume()
/foundation/multimedia/media_lite/services/player_lite/impl/
H A Dplayer_impl.cpp41 const float MAX_MEDIA_VOLUME = 300.0f; member
544 if (leftVolume < 0 || leftVolume > MAX_MEDIA_VOLUME || rightVolume < 0 || rightVolume > MAX_MEDIA_VOLUME) { in SetVolume()
/foundation/multimedia/player_framework/services/engine/histreamer/player/
H A Dhiplayer_impl.cpp41 const float MAX_MEDIA_VOLUME = 1.0f; // standard interface volume is between 0 to 1. member
1240 FALSE_RETURN_V_MSG_E(!(leftVolume < 0 || leftVolume > MAX_MEDIA_VOLUME in SetVolume()
1241 || rightVolume < 0 || rightVolume > MAX_MEDIA_VOLUME), in SetVolume()
1251 volume /= MAX_MEDIA_VOLUME; // normalize to 0~1 in SetVolume()

Completed in 10 milliseconds