Hello,
I need to get the following info from the audio files my app handles:
- codec
- sample rate
- bit rate
- bit depth
- number of audio channels
Is there a way to get this info from BASS?
I know I can get the number of channels and sample rate with BASS_ChannelGetInfo. I am not sure if the bit depth (depending on the flags set?, 8, 16 or 32, but I don't know if those refer to the channel setup, rather than the audio file itself). The codec I can try with the filename extension, although I know that in a lot of cases it's only the container format, not the codec.The bit rate I can also calculate from the duration and the file size. I know that a lot of codecs have VBR, but something like that would be enough for my users.
So, even if I have some ways to get the info "manually" I wonder if there is some function that could provide this info already?
Thanks!