Docs.rs
  • libpulse-sys-1.19.3
    • libpulse-sys 1.19.3
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • jnqnfe
    • Dependencies
      • libc ^0.2 normal
      • num-derive ^0.3 normal
      • num-traits ^0.2 normal
      • pkg-config ^0.3.23 build
      • winapi ^0.3 normal
    • Versions
    • 22.31% of the crate is documented
  • Go to latest version
  • Platform
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
☰
logo

Module sample

  • Structs
  • Enums
  • Constants
  • Functions
  • Type Definitions
logo
Change settings

Module libpulse_sys::sample[−][src]

Expand description

Constants and routines for sample type handling.

Structs

pa_sample_spec

A sample format and attribute specification.

Enums

pa_sample_format_t

Sample format.

Constants

PA_BYTES_SNPRINT_MAX

The maximum length of strings returned by pa_bytes_snprint().

PA_CHANNELS_MAX

Maximum number of allowed channels.

PA_RATE_MAX

Maximum allowed sample rate.

PA_SAMPLE_ALAW
PA_SAMPLE_FLOAT32

A shortcut for PA_SAMPLE_FLOAT32NE.

PA_SAMPLE_FLOAT32BE
PA_SAMPLE_FLOAT32LE
PA_SAMPLE_FLOAT32NE
PA_SAMPLE_FLOAT32RE
PA_SAMPLE_INVALID
PA_SAMPLE_MAX
PA_SAMPLE_S16BE
PA_SAMPLE_S16LE
PA_SAMPLE_S16NE
PA_SAMPLE_S16RE
PA_SAMPLE_S24BE
PA_SAMPLE_S24LE
PA_SAMPLE_S24NE
PA_SAMPLE_S24RE
PA_SAMPLE_S24_32BE
PA_SAMPLE_S24_32LE
PA_SAMPLE_S24_32NE
PA_SAMPLE_S24_32RE
PA_SAMPLE_S32BE
PA_SAMPLE_S32LE
PA_SAMPLE_S32NE
PA_SAMPLE_S32RE
PA_SAMPLE_SPEC_SNPRINT_MAX

The maximum length of strings returned by pa_sample_spec_snprint().

PA_SAMPLE_U8
PA_SAMPLE_ULAW

Functions

pa_bytes_per_second⚠
pa_bytes_snprint⚠
pa_bytes_to_usec⚠
pa_channels_valid⚠pa_v5
pa_frame_size⚠
pa_parse_sample_format⚠
pa_sample_format_is_be⚠
pa_sample_format_is_le⚠
pa_sample_format_to_string⚠
pa_sample_format_valid⚠pa_v5
pa_sample_rate_valid⚠pa_v5
pa_sample_size⚠
pa_sample_size_of_format⚠
pa_sample_spec_equal⚠
pa_sample_spec_init⚠
pa_sample_spec_snprint⚠
pa_sample_spec_valid⚠
pa_usec_to_bytes⚠

Type Definitions

pa_usec_t

Type for usec specifications (unsigned). Always 64 bit.