Renaming factory to sound for the remaining occurences in the code.
Cleanup

- removing unnecessary defines and commented out code
- minor coding style cleanups
Update and bugfixing: ffmpeg writing

- updated the ffmpeg writer to newer ffmpeg API
- fixing bugs in the ffmpeg writer
- added a conversion demo application
- added the opus audio codec
- smaller changes