Skip to content

Commit d96feb2

Browse files
committed
🐛 Use default device when muting/unmuting
1 parent eca6bbd commit d96feb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

impl/linux.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ exports.getMuted = async function getMuted () {
5252
}
5353

5454
exports.setMuted = async function setMuted (val) {
55-
await amixer('set', 'PCM', val ? 'mute' : 'unmute')
55+
await amixer('set', await getDefaultDevice(), val ? 'mute' : 'unmute')
5656
}

0 commit comments

Comments
 (0)