Logo Search packages:      
Sourcecode: pulseaudio version File versions

pa_volume_t pa_sw_volume_multiply ( pa_volume_t  a,
pa_volume_t  b 
)

Multiply two volumes specifications, return the result. This uses PA_VOLUME_NORM as neutral element of multiplication. This is only valid for software volumes!

Definition at line 79 of file volume.c.

                                                                {
    return pa_sw_volume_from_linear(pa_sw_volume_to_linear(a)* pa_sw_volume_to_linear(b));
}


Generated by  Doxygen 1.6.0   Back to index