You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Update Opus driver to 1.1.2
And opusfile to 0.7.
This commit is contained in:
@@ -24,10 +24,7 @@
|
||||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifdef OPUS_ENABLED
|
||||
#include "opus/opus_config.h"
|
||||
#endif
|
||||
|
||||
#include "opus/opus.h"
|
||||
#include "opus/opus_private.h"
|
||||
@@ -219,8 +216,9 @@ opus_int32 opus_repacketizer_out_range_impl(OpusRepacketizer *rp, int begin, int
|
||||
}
|
||||
if (pad)
|
||||
{
|
||||
for (i=ptr-data;i<maxlen;i++)
|
||||
data[i] = 0;
|
||||
/* Fill padding with zeros. */
|
||||
while (ptr<data+maxlen)
|
||||
*ptr++=0;
|
||||
}
|
||||
return tot_size;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user