diff options
| author | Rémi Verschelde | 2016-10-13 18:58:56 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-10-13 18:58:56 +0200 |
| commit | d3d0507c053a7dd20d64a1cf73740c1f66493b8a (patch) | |
| tree | f60e03a51994243d3006f7c96709080066763c1f /drivers/speex/speex_bind.cpp | |
| parent | 6c0be2c017e605c2106823e80e5aaa78fc68aba5 (diff) | |
| download | godot-d3d0507c053a7dd20d64a1cf73740c1f66493b8a.tar.gz godot-d3d0507c053a7dd20d64a1cf73740c1f66493b8a.tar.zst godot-d3d0507c053a7dd20d64a1cf73740c1f66493b8a.zip | |
Remove speex support, it is obsoleted by opus
As mentioned by upstream, Xiph.Org [0]:
> The Speex codec has been obsoleted by Opus. It will continue to be
> available, but since Opus is better than Speex in all aspects,
> users are encouraged to switch.
[0] http://www.speex.org/
Diffstat (limited to 'drivers/speex/speex_bind.cpp')
| -rw-r--r-- | drivers/speex/speex_bind.cpp | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/drivers/speex/speex_bind.cpp b/drivers/speex/speex_bind.cpp deleted file mode 100644 index d15bb3da8..000000000 --- a/drivers/speex/speex_bind.cpp +++ /dev/null @@ -1,64 +0,0 @@ - -#include "memory.h" -#include "speex_bind.h" -#include -#ifdef __cplusplus -extern "C" { -#endif - -void *speex_alloc (int size) { - - uint8_t * mem = (uint8_t*)memalloc(size); - for(int i=0;i<size;i++) - mem[i]=0; - return mem; -} - -void *speex_alloc_scratch (int size) { - - return memalloc(size); -} - -void *speex_realloc (void *ptr, int size) { - - return memrealloc(ptr,size); -} - -void speex_free (void *ptr) { - - memfree(ptr); -} - -void speex_free_scratch (void *ptr) { - - memfree(ptr); -} - -void _speex_fatal(const char *str, const char *file, int line) { - - _err_print_error("SPEEX ERROR",p_file,p_line,str); -} - -void speex_warning(const char *str) { - - _err_print_error("SPEEX WARNING","",0,str); -} - -void speex_warning_int(const char *str, int val) { - - _err_print_error("SPEEX WARNING INT","Value",val,str); -} - -void speex_notify(const char *str) { - - print_line(str); -} - -void _speex_putc(int ch, void *file) { - - // will not putc, no. -} - -#ifdef __cplusplus -} -#endif |
