-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compilation was broken so I figured might as well bump up to C++ 17. This also fixes a double-close of the input file. The file is closed by libflac when the Decoder goes out of scope. It's also closed when the File_handle goes out of scope. The fix was to release the FILE pointer after its ownership transfers to the decoder. I guess I'm not sure if libsox also runs into this :(. * Replace scoped_array/scoped_ptr/auto_ptr with unique_ptr * Replaced boost shared_ptr with std * Drop throw() specifiers. Replaced with doxygen-style comments * Encoder/Decoder were missing virtual destructors. Encoder also forgot to subclass Basic_encoder * Replaced some asserts with runtime exceptions. Which in retrospect could have just been an include of <cassert> * Also switch to C11 for no reason
- Loading branch information
1 parent
e7005dc
commit 6d223c5
Showing
12 changed files
with
243 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.