Skip to content

Commit b30b63e

Browse files
committed
define default device name for audio output
1 parent 4ccdc9d commit b30b63e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

+1
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ aio.on('connection', function (socket) {
158158
if (audioEnabled) {
159159
if (record) record.end();
160160
record = pulse.createRecordStream({
161+
device: 'auto_null.monitor',
161162
channels: 2,
162163
rate: 44100,
163164
format: 'F32LE',

0 commit comments

Comments
 (0)