This project has moved and is read-only. For the latest updates, please go here.

how to get sample rate?

Jun 2 at 7:49 PM
I need to read sample rate for both wav's and dsf files. is this possible using this library?
Jun 13 at 2:31 PM
Hello rpmoore52,

Sample rate is currently not accessible using the IAudioDataReader interface.

That being said, adding this property should be quick and easy. I'll update the source and let you know soon.


Jun 13 at 10:44 PM
That's done and validated through unit testing.

Please update your source code.

NB : Non-streamed formats (e.g. MIDI, MOD, PDF...) return a Sample Rate of 0 Hz