From 67caeb6e3cda44205ba8fe783274b20dc7ea216e Mon Sep 17 00:00:00 2001 From: jacqueline Date: Wed, 9 Aug 2023 12:00:02 +1000 Subject: Use opusfile instead of working directly with ogg and opus --- lib/opusfile/examples/win32utf8.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 lib/opusfile/examples/win32utf8.h (limited to 'lib/opusfile/examples/win32utf8.h') diff --git a/lib/opusfile/examples/win32utf8.h b/lib/opusfile/examples/win32utf8.h new file mode 100644 index 00000000..02598237 --- /dev/null +++ b/lib/opusfile/examples/win32utf8.h @@ -0,0 +1,21 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE libopusfile SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE libopusfile SOURCE CODE IS (C) COPYRIGHT 1994-2020 * + * by the Xiph.Org Foundation and contributors https://xiph.org/ * + * * + ********************************************************************/ + +#if !defined(_win32utf8_H) +# define _win32utf8_H (1) +# if defined(_WIN32) + +/*Make a best-effort attempt to support UTF-8 on Windows.*/ +void win32_utf8_setup(int *_argc,const char ***_argv); + +# endif +#endif -- cgit v1.2.3