diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-08-23 20:15:56 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-08-23 20:15:56 -0300 |
commit | 07e97414250827c3b930befa123a4bbd48d24861 (patch) | |
tree | 8ec9872421ad333d3a1150ee64db1d0d27bd4269 /drivers/speex/audio_stream_speex.cpp | |
parent | 9d185ccc30ad5fe7eb716390ca2e7f5c06574ce0 (diff) |
**WARNING BEFORE PULLING**
This push changes the binary and XML formats and bumps the major version to 2.0. As such, files saved in this version WILL NO LONGER WORK IN PREVIOUS VERSIONS. This compatibility breakage with older versions was required in order to properly provide project refactoring tools.
If I were you, unless you are brave, I would wait a week or two before pulling, in case of bugs :)
Summary of Changes
-New Filesystem dock, with filesystem & tree view modes.
-New refactoring tools, to change or fix dependencies.
-Quick search dialog, to quickly search any file
Diffstat (limited to 'drivers/speex/audio_stream_speex.cpp')
-rw-r--r-- | drivers/speex/audio_stream_speex.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/speex/audio_stream_speex.cpp b/drivers/speex/audio_stream_speex.cpp index bcf4c515f8..2cffb17049 100644 --- a/drivers/speex/audio_stream_speex.cpp +++ b/drivers/speex/audio_stream_speex.cpp @@ -530,7 +530,10 @@ AudioStreamSpeex::~AudioStreamSpeex() { unload(); } -RES ResourceFormatLoaderAudioStreamSpeex::load(const String &p_path,const String& p_original_path) { +RES ResourceFormatLoaderAudioStreamSpeex::load(const String &p_path, const String& p_original_path, Error *r_error) { + + if (r_error) + *r_error=OK; AudioStreamSpeex *stream = memnew(AudioStreamSpeex); stream->set_file(p_path); |