Skip to content

Commit

Permalink
Bump bitflags to version 2
Browse files Browse the repository at this point in the history
  • Loading branch information
padenot committed Jul 25, 2023
1 parent cf48897 commit 31e6e68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pulse-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ authors = ["Dan Glastonbury <[email protected]>"]
license = "ISC"

[dependencies]
bitflags = "1.2.0"
bitflags = "2"
pulse-ffi = { path = "../pulse-ffi" }
1 change: 1 addition & 0 deletions pulse-rs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,7 @@ impl Into<ffi::pa_seek_mode_t> for SeekMode {
}

bitflags! {
#[derive(Debug, Clone, Copy)]
pub struct SinkFlags: u32 {
const HW_VOLUME_CTRL = ffi::PA_SINK_HW_VOLUME_CTRL;
const LATENCY = ffi::PA_SINK_LATENCY;
Expand Down

0 comments on commit 31e6e68

Please sign in to comment.