Searched refs:VOLUME_0DB (Results 1 – 1 of 1) sorted by relevance
24 #define VOLUME_0DB (16) macro301 RT_ASSERT(-volume <= VOLUME_0DB); in pwm_audio_set_volume()305 RT_ASSERT(volume <= VOLUME_0DB); in pwm_audio_set_volume()309 handle->volume = volume + VOLUME_0DB; in pwm_audio_set_volume()365 temp = (inbuf[i] * handle->volume / VOLUME_0DB) + 0x7f; /**< offset */ in pwm_audio_write()377 value = (inbuf[i] * handle->volume / VOLUME_0DB) + 0x7f; /**< offset */ in pwm_audio_write()396 temp = temp * handle->volume / VOLUME_0DB; in pwm_audio_write()411 temp = temp * handle->volume / VOLUME_0DB; in pwm_audio_write()432 temp = temp * handle->volume / VOLUME_0DB; in pwm_audio_write()447 temp = temp * handle->volume / VOLUME_0DB; in pwm_audio_write()
Completed in 6 milliseconds