Lines Matching refs:param
498 * @param newVolume set volume target in floating point [0.0, 1.0].
499 * @param ramp number of frames to increment over. if ramp is 0, the volume
501 * @param pIntSetVolume pointer to the U4.12 integer target volume, set on return.
502 * @param pIntPrevVolume pointer to the U4.28 integer previous volume, set on return.
503 * @param pIntVolumeInc pointer to the U4.28 increment per output audio frame, set on return.
504 * @param pSetVolume pointer to the float target volume, set on return.
505 * @param pPrevVolume pointer to the float previous volume, set on return.
506 * @param pVolumeInc pointer to the float increment per output audio frame, set on return.
609 void AudioMixer::setParameter(int name, int target, int param, void *value)
621 switch (param) {
674 LOG_ALWAYS_FATAL("setParameter track: bad param %d", param);
679 switch (param) {
699 LOG_ALWAYS_FATAL("setParameter resample: bad param %d", param);
705 switch (param) {
717 if ((unsigned)param >= VOLUME0 && (unsigned)param < VOLUME0 + MAX_NUM_VOLUMES) {
720 &track.volume[param - VOLUME0], &track.prevVolume[param - VOLUME0],
721 &track.volumeInc[param - VOLUME0],
722 &track.mVolume[param - VOLUME0], &track.mPrevVolume[param - VOLUME0],
723 &track.mVolumeInc[param - VOLUME0])) {
725 target == VOLUME ? "VOLUME" : "RAMP_VOLUME", param - VOLUME0,
726 track.volume[param - VOLUME0]);
730 LOG_ALWAYS_FATAL("setParameter volume: bad param %d", param);
735 switch (param) {
753 LOG_ALWAYS_FATAL("setParameter timestretch: bad param %d", param);