Commit graph

4 commits

Author SHA1 Message Date
George Marques 03d4c05150 Fix Opus driver build for VS2010 and VS2012
Fix #2744
2015-11-06 18:59:21 -02:00
ZuBsPaCe d99727d099 Fixes following Visual Studio 2013 compile error on windows:
drivers\opus\celt\bands.c(555) : error C2057: expected constant expression
drivers\opus\celt\bands.c(555) : error C2466: cannot allocate an array of constant size 0
drivers\opus\celt\bands.c(555) : error C2133: 'tmp' : unknown size
2015-10-03 00:42:40 +02:00
ZuBsPaCe c69afe4948 Fixes following Visual Studio 2013 compile error on windows:
audio_stream_opus.h(57) : error C2864: 'AudioStreamPlaybackOpus::osrate' : a static data member with an in-class initializer must have non-volatile const integral type

See: http://stackoverflow.com/questions/2454019/why-arent-static-const-floats-allowed
2015-10-03 00:38:43 +02:00
George Marques 6e87314d83
Add support for Opus audio format 2015-10-02 14:25:38 -03:00