I'm using DMCSCRIPTINGLib for reading metadata of audio files.

For WMA files there is no "Sample Size" property in the string returned by get_AudioProperties() function.

Returned string looks like this:

Type : Windows Media Audio file [.wma]
Size : 138 KB (96% Compressed)

Length : 33 seconds
Channels : 2 (stereo)
Sample Rate : 22 KHz
Bit Rate : 32 kbps

Audio Quality : Low (Lossy)
Encoder : Windows Media Audio 9
Encoder Settings : 32 kbps, 22 kHz, stereo 1-pass CBR
Protected : No
______________________
dBpoweramp

In the case of (for example) FLAC file it looks this way:


Type : FLAC Audio [.flac]
Size : 1,27 MB (53% Compressed)

Length : 15,8 seconds
Channels : 2 (stereo)
Sample Rate : 44,1 KHz
Sample Size : 16 bit
Bit Rate : 1 411 kbps (CD)

Audio Quality : Perfect (Lossless)
Encoder : FLAC Lavf56.40.101
Contains : CRC, ID Tag [Vorbis Comments]

artist : Kevin MacLeod
title : Galway
encoder : Lavf56.40.101
______________________
dBpoweramp



As you can see Sample Size is missing in the case of WMA file. Other libraries (like TagLib) can read this value.

Is it a bug?

Thank you for your answer and support.