Skip to content

Commit

Permalink
define default device name for audio output
Browse files Browse the repository at this point in the history
  • Loading branch information
thelamer committed Jun 25, 2024
1 parent 4ccdc9d commit b30b63e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ aio.on('connection', function (socket) {
if (audioEnabled) {
if (record) record.end();
record = pulse.createRecordStream({
device: 'auto_null.monitor',
channels: 2,
rate: 44100,
format: 'F32LE',
Expand Down

0 comments on commit b30b63e

Please sign in to comment.