Added opus support

For issue #377. I've made this a pull request because I moved it to a new branch and wanted to let you know.