gopxl / beep

A little package that brings sound to any Go application. Suitable for playback and audio-processing.
MIT License
293 stars 15 forks source link

Ogg/vorbis files are mono even if files have more channels #178

Closed MarkKremer closed 2 months ago

MarkKremer commented 3 months ago

https://github.com/gopxl/beep/pull/163 introduced a bug where some channel numbers are interpreted as mono. The switch case to determine which channels to pick if there are more than 2 channels doesn't use fallthrough even though it should.