#video #pcm #channel #convert #audio

no-std p-chan

Multimedia (Audio, Raster) Channel Newtypes and Conversions

4 releases

Uses new Rust 2024

0.2.0 Apr 3, 2025
0.1.2 Mar 5, 2025
0.1.1 Mar 2, 2025
0.1.0 Mar 2, 2025

#444 in Math

Download history 388/week @ 2025-03-01 34/week @ 2025-03-08 6/week @ 2025-03-15 108/week @ 2025-03-29 32/week @ 2025-04-05

146 downloads per month

Apache-2.0 OR BSL-1.0 OR MIT

97KB
2K SLoC

P-Chan

tests GitHub commit activity GitHub contributors
Crates.io Crates.io Crates.io (recent)
Crates.io Docs.rs

Multimedia (Audio, Raster) Channel Newtypes and Conversions

Features

  • Unsigned and signed integer and float channel newtypes
  • Conversion between channel formats
  • const-compatible operations on channel types

Supported Platforms

P-Chan targets all platforms that can run Rust, and contains no platform-specific code.

MSRV

The current MSRV is Rust 1.85.

Any future MSRV updates will follow the Ardaku MSRV guidelines.

License

Copyright © 2025 The P-Chan Contributors.

Licensed under any of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as described above, without any additional terms or conditions.

Help

If you want help using or contributing to this library, feel free to send me an email at aldaronlau@gmail.com.

Dependencies

~140KB