Tracktion / tracktion_engine

Tracktion Engine module
Other
1.11k stars 148 forks source link

[Bug]: Disabling an input channel in Audio Settings changes the mapping of track inputs #174

Open patrikohlsson opened 1 year ago

patrikohlsson commented 1 year ago

Detailed steps on how to reproduce the bug

Using DemoRunner and RecordingDemo with the only change that stereo pairing of channels was turned off in examples/common/Utilities.h -> EngineHelpers::showAudioDeviceSettings.

To reproduce:

The recording will be silent, however if I change track input to channel 1 I get a signal, even though mic is plugged into channel 2. This indicates that the track inputs no longer map to the correct input channel.

What is the expected behaviour?

Track inputs should map to the device input channel of the same name since the track inputs list the same names as the physical device inputs like "Input 5", "ADAT 7", "SPDIF 2".

Unit test to reproduce the error?

No response

Operating systems

Windows

What versions of the operating systems?

Windows 10 Pro 21H2

Architectures

x86_64

Stacktrace

No response

Plug-in formats (if applicable)

Standalone

Plug-in host applications (DAWs) (if applicable)

No response

Testing on the develop branch

The bug is present on the develop branch

Code of Conduct

patrikohlsson commented 12 months ago

Anyone who can replicate the issue?