Skip to content

Commit

Permalink
sound: fix form_factor for pulseaudio
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxVerevkin committed Apr 26, 2024
1 parent 0a6f833 commit 16a530e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blocks/sound/pulseaudio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ impl SoundDevice for Device {
}

fn form_factor(&self) -> Option<&str> {
self.active_port.as_deref()
self.form_factor.as_deref()
}

async fn get_info(&mut self) -> Result<()> {
Expand Down

0 comments on commit 16a530e

Please sign in to comment.