Skip to content

Commit e5bb264

Browse files
authored
Merge pull request #98 from CorvusPrudens/output-fix
Fix output device fetching
2 parents 1cf3a7c + 24f3238 commit e5bb264

File tree

1 file changed

+3
-3
lines changed
  • crates/firewheel-cpal/src

1 file changed

+3
-3
lines changed

crates/firewheel-cpal/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,9 @@ impl AudioBackend for CpalBackend {
252252
}
253253
});
254254

255-
match host.input_devices() {
256-
Ok(input_devices) => {
257-
for device in input_devices {
255+
match host.output_devices() {
256+
Ok(output_devices) => {
257+
for device in output_devices {
258258
let Ok(id) = device.id() else {
259259
continue;
260260
};

0 commit comments

Comments
 (0)