PulseAudio.SampleSpec – libpulse Reference Manual
SampleSpec
Object Hierarchy:
PulseAudio.SampleSpec
PulseAudio.SampleSpec
PulseAudio.SampleSpec
Description:
[
CCode
( cname =
"pa_sample_spec"
, has_type_id =
false
) ]
public
struct
SampleSpec
Namespace:
PulseAudio
Package:
libpulse
Content:
Constants:
public
const
size_t
SNPRINT_MAX
Creation methods:
public
SampleSpec
()
Methods:
public
size_t
bytes_per_second
()
public
usec
bytes_to_usec
(
size_t
size)
public
bool
equal
(
SampleSpec
other)
public
size_t
frame_size
()
public
unowned
SampleSpec
?
init
()
public
size_t
sample_size
()
public
unowned
string
snprint
(
char
[] buf)
public
string
sprint
()
public
string
to_string
()
public
size_t
usec_to_bytes
(
usec
u)
public
bool
valid
()
Fields:
public
SampleFormat
format
public
uint32
rate
public
uint8
channels
2022 vala-language.org