SFML community forums
Help => Audio => Topic started by: Jebbs on August 05, 2017, 07:24:11 pm
-
Why does openForWriting exist in the InputSoundFile header? It seems to be a leftover from SoundFile and has no definition in the cpp file. InputSoundFile should provide read-only access to the file anyway, so this is a weird method to have.
Can it be gotten rid of?
-
This does seem odd indeed and I don't think it was used with libsndfile. Laurent wrote it, so maybe he's some vague memory what he was trying to do here. ;)
-
If it's not defined, and not used, then it's clearly a leftover and can safely be removed.