Skip to content

Commit b44cfd8

Browse files
committed
output audio devices that are found
* This has been very useful log to run locally at least to double check the new revised function matches legacy output.
1 parent 2efb0de commit b44cfd8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/osn-tests/src/test_osn_audio.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ describe(testName, () => {
6666
for (const device of devices) {
6767
expect(device).to.have.property('id');
6868
expect(device).to.have.property('description');
69+
logInfo(testName, `Output Audio Device Found: ${device.description} with id: ${device.id}`);
6970
if (device.id === 'default') {
7071
foundDefaultDevice = true;
7172
}
@@ -83,6 +84,7 @@ describe(testName, () => {
8384
for (const device of devices) {
8485
expect(device).to.have.property('id');
8586
expect(device).to.have.property('description');
87+
logInfo(testName, `Input Audio Device Found: ${device.description} with id: ${device.id}`);
8688
if (device.id === 'default') {
8789
foundDefaultDevice = true;
8890
}

0 commit comments

Comments
 (0)