Enable multiple channel audio


#1

Greetings!

I’ve been developing an app that combines the Spotify API and Youtube API to listen music and encountered a problem with 2.1 audio and a 5.1/7.1 audio sound card.

I didn’t get 2.1 audio to work on my 5.1/7.1 sound system and also got this problem with older versions of chrome a few years back for normal browsing.

Use this to enable multiple channel audio your dedicated sound card can use to turn it into 5.1/7.1 audio.

app.commandLine.appendSwitch('--try-supported-channel-layouts');

Hope it helps some people frustated by this problem with electron.