diff --git a/quakespasm/MacOSX/codecs/include/opus/opusfile.h b/quakespasm/MacOSX/codecs/include/opus/opusfile.h index 299ab20a..bc10cf32 100644 --- a/quakespasm/MacOSX/codecs/include/opus/opusfile.h +++ b/quakespasm/MacOSX/codecs/include/opus/opusfile.h @@ -630,6 +630,10 @@ struct OpusFileCallbacks{ If there is an error opening the file, nothing will be filled in here. \param _path The path to the file to open. + On Windows, this string must be UTF-8 (to allow access to + files whose names cannot be represented in the current + MBCS code page). + All other systems use the native character encoding. \param _mode The mode to open the file in. \return A stream handle to use with the callbacks, or NULL on error.*/ @@ -663,6 +667,10 @@ OP_WARN_UNUSED_RESULT void *op_fdopen(OpusFileCallbacks *_cb, If there is an error opening the file, nothing will be filled in here. \param _path The path to the file to open. + On Windows, this string must be UTF-8 (to allow access + to files whose names cannot be represented in the + current MBCS code page). + All other systems use the native character encoding. \param _mode The mode to open the file in. \param _stream A stream previously returned by op_fopen(), op_fdopen(), or op_freopen(). diff --git a/quakespasm/Windows/codecs/include/opus/opusfile.h b/quakespasm/Windows/codecs/include/opus/opusfile.h index 299ab20a..bc10cf32 100644 --- a/quakespasm/Windows/codecs/include/opus/opusfile.h +++ b/quakespasm/Windows/codecs/include/opus/opusfile.h @@ -630,6 +630,10 @@ struct OpusFileCallbacks{ If there is an error opening the file, nothing will be filled in here. \param _path The path to the file to open. + On Windows, this string must be UTF-8 (to allow access to + files whose names cannot be represented in the current + MBCS code page). + All other systems use the native character encoding. \param _mode The mode to open the file in. \return A stream handle to use with the callbacks, or NULL on error.*/ @@ -663,6 +667,10 @@ OP_WARN_UNUSED_RESULT void *op_fdopen(OpusFileCallbacks *_cb, If there is an error opening the file, nothing will be filled in here. \param _path The path to the file to open. + On Windows, this string must be UTF-8 (to allow access + to files whose names cannot be represented in the + current MBCS code page). + All other systems use the native character encoding. \param _mode The mode to open the file in. \param _stream A stream previously returned by op_fopen(), op_fdopen(), or op_freopen(). diff --git a/quakespasm/Windows/codecs/x64/libopusfile-0.dll b/quakespasm/Windows/codecs/x64/libopusfile-0.dll index 9eaf8ed1..dcfecaa0 100644 Binary files a/quakespasm/Windows/codecs/x64/libopusfile-0.dll and b/quakespasm/Windows/codecs/x64/libopusfile-0.dll differ diff --git a/quakespasm/Windows/codecs/x86/libopusfile-0.dll b/quakespasm/Windows/codecs/x86/libopusfile-0.dll index e52b941b..afd9fb9e 100644 Binary files a/quakespasm/Windows/codecs/x86/libopusfile-0.dll and b/quakespasm/Windows/codecs/x86/libopusfile-0.dll differ