Fixed warnings when loading sound buffer.