Packages
libpulse
PulseAudio
Volume
INVALID
MAX
MUTED
NORM
SNPRINT_MAX
SW_SNPRINT_DB_MAX
sw_from_dB
sw_from_linear
snprint
sprint
sw_divide
sw_multiply
sw_snprint_dB
sw_sprint_dB
sw_to_dB
sw_to_linear
to_string
Volume
Object Hierarchy:
PulseAudio.Volume
PulseAudio.Volume
PulseAudio.Volume
uint32
uint32
uint32->PulseAudio.Volume
Description:
[
CCode
( cname =
"pa_volume_t"
, has_type_id =
false
) ]
public
struct
Volume
:
uint32
Namespace:
PulseAudio
Package:
libpulse
Content:
Constants:
public
const
Volume
INVALID
public
const
Volume
MAX
public
const
Volume
MUTED
public
const
Volume
NORM
public
const
size_t
SNPRINT_MAX
public
const
size_t
SW_SNPRINT_DB_MAX
Static methods:
public
static
Volume
sw_from_dB
(
double
f)
public
static
Volume
sw_from_linear
(
double
f)
Methods:
public
unowned
string
snprint
(
char
[] s)
public
string
sprint
()
public
Volume
sw_divide
(
Volume
other)
public
Volume
sw_multiply
(
Volume
other)
public
unowned
string
sw_snprint_dB
(
char
[] s)
public
string
sw_sprint_dB
()
public
double
sw_to_dB
()
public
double
sw_to_linear
()
public
string
to_string
()
Inherited Members:
All known members inherited from struct uint32
FORMAT
FORMAT_MODIFIER
MAX
MIN
clamp
from_big_endian
from_little_endian
from_network
max
min
swap_big_endian_pdp
swap_little_endian_big_endian
swap_little_endian_pdp
to_big_endian
to_little_endian
to_network
to_string