Docs.rs
  • libpulse-sys-1.22.0
    • libpulse-sys 1.22.0
    • 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.4 normal
      • num-traits ^0.2 normal
      • pkg-config ^0.3.23 build
      • winapi ^0.3 normal
    • Versions
    • 22.21% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • 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

libpulse_sys1.22.0

Module sample

Module Items

  • Structs
  • Enums
  • Constants
  • Functions
  • Type Aliases

In crate libpulse_sys

libpulse_sys

Module sample

Source
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_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_sample_rate_valid⚠
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 Aliases§

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