diff options
| author | Rémi Verschelde | 2018-01-01 14:40:08 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2018-01-01 14:40:47 +0100 |
| commit | b50a9114b105dafafdda8248a38653bca314a6f3 (patch) | |
| tree | 832d1abfc11ad4e6efe6d30ae6ea3eb70bd3949d /modules/opus/register_types.cpp | |
| parent | 7d0212f4ebc9d685d7f8832ce7c22d282e5b27ba (diff) | |
| download | godot-b50a9114b105dafafdda8248a38653bca314a6f3.tar.gz godot-b50a9114b105dafafdda8248a38653bca314a6f3.tar.zst godot-b50a9114b105dafafdda8248a38653bca314a6f3.zip | |
Diffstat (limited to 'modules/opus/register_types.cpp')
| -rw-r--r-- | modules/opus/register_types.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/opus/register_types.cpp b/modules/opus/register_types.cpp index 6d7a3575e..41bee6d55 100644 --- a/modules/opus/register_types.cpp +++ b/modules/opus/register_types.cpp @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */ +/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -34,12 +34,12 @@ static ResourceFormatLoaderAudioStreamOpus *opus_stream_loader = NULL; void register_opus_types() { - // Sorry guys, do not enable this unless you can figure out a way - // to get Opus to not do any memory allocation or system calls - // in the audio thread. - // Currently the implementation even reads files from the audio thread, - // and this is not how audio programming works. - + // Sorry guys, do not enable this unless you can figure out a way + // to get Opus to not do any memory allocation or system calls + // in the audio thread. + // Currently the implementation even reads files from the audio thread, + // and this is not how audio programming works. + //opus_stream_loader = memnew(ResourceFormatLoaderAudioStreamOpus); //ResourceLoader::add_resource_format_loader(opus_stream_loader); //ClassDB::register_class<AudioStreamOpus>(); |
