Skip to content

Commit

Permalink
Fix input device filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurailus committed Mar 18, 2021
1 parent c2f47e7 commit 244222d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "myxer"
version = "1.1.2"
version = "1.1.3"
description = "A modern Volume Mixer for PulseAudio"
readme = "README.md"
license = "GPL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion src/pulse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ impl Pulse {

fn tx_source_output(tx: &Sender<TxMessage>, result: ListResult<&SourceOutputInfo<'_>>) {
if let ListResult::Item(item) = result {
let app_id = item.proplist.get_str("application.process.binary").unwrap_or("".to_owned());
let app_id = item.proplist.get_str("application.process.binary").unwrap_or("".to_owned()).to_lowercase();
if app_id.contains("pavucontrol") || app_id.contains("myxer") { return; }
tx.send(TxMessage::StreamUpdate(StreamType::SourceOutput, TxStreamData {
data: MeterData {
Expand Down
2 changes: 1 addition & 1 deletion src/window/about.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pub fn about() {
let about = gtk::AboutDialog::new();
about.set_logo_icon_name(Some("multimedia-volume-control"));
about.set_program_name("Myxer");
about.set_version(Some("1.1.2"));
about.set_version(Some("1.1.3"));
about.set_comments(Some("A modern Volume Mixer for PulseAudio."));
about.set_website(Some("https://myxer.aurailus.com"));
about.set_copyright(Some("© 2021 Auri Collings"));
Expand Down

0 comments on commit 244222d

Please sign in to comment.