Lines Matching refs:volume
791 // volume: volume applied to tone (0.0 to 1.0)
797 ToneGenerator::ToneGenerator(audio_stream_type_t streamType, float volume, bool threadCanCallJava) {
799 ALOGV("ToneGenerator constructor: streamType=%d, volume=%f", streamType, volume);
809 mVolume = volume;
1175 // If segment, ON -> OFF transition : ramp volume down
1497 // volume: volume (0.0 to 1.0)
1504 unsigned short frequency, float volume) {
1514 mAmplitude_Q15 = (short)(32767. * 32767. * volume / GEN_AMP);