Search code examples
c#.netaudiowavogg

Using .NET to detect .ogg file properties? Number of channels, bits per channel, sample rate?


Does anyone know how to detect various .ogg file properties such as the number of channels, bits per channel, and the sample rate?

I would like to do this without using DirectX, can anyone recommend a library that could do it. Can anyone recommend an open-source library that could do it, which could be called from managed code ?


Solution

  • Figured it out and wrote about it:

    https://www.mikeellis.dev/using-c-net-to-detect-ogg-vorbis-file-properties/