Refactor audio decoders, properly release audio file handles.