Erik de Castro Lopo wrote:
Erik de Castro Lopo wrote:
> Hi all,
>
> Thanks to suggestions from people here I now have a relatively
> complete C++ wrapper for libsndfile:
>
>
http://www.mega-nerd.com/tmp/sndfile.hh
An another update incorporating a number of suggestions from Daniel
Schmitt.
- The SF_INFO struct is now private.
- Add frames, channels, format and samplerate getters.
- Sndfile constructor and open method now require a mode
(SFM_READ, SFM_RDWR or SFM_WRITE) and optional format/
channels/samplerate.
The latest is at the same URL as the above.
Erik
--
+-----------------------------------------------------------+
Erik de Castro Lopo
+-----------------------------------------------------------+
"No Silicon Heaven? Preposterous! Where would
all the calculators go?" -- Kryten, Red Dwarf