diff options
| author | Rémi Verschelde | 2018-01-05 00:50:27 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2018-01-05 01:22:23 +0100 |
| commit | e4213e66b2dd8f5a87d8cf5015ac83ba3143279d (patch) | |
| tree | 884f562c3e39b501187ebbb2a202d9268e3428fb /modules/opus/audio_stream_opus.cpp | |
| parent | eb892cd0f123244446e14fe0c1f40981116c4d37 (diff) | |
| download | godot-e4213e66b2dd8f5a87d8cf5015ac83ba3143279d.tar.gz godot-e4213e66b2dd8f5a87d8cf5015ac83ba3143279d.tar.zst godot-e4213e66b2dd8f5a87d8cf5015ac83ba3143279d.zip | |
Diffstat (limited to 'modules/opus/audio_stream_opus.cpp')
| -rw-r--r-- | modules/opus/audio_stream_opus.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/opus/audio_stream_opus.cpp b/modules/opus/audio_stream_opus.cpp index 260612e37..8323ff33a 100644 --- a/modules/opus/audio_stream_opus.cpp +++ b/modules/opus/audio_stream_opus.cpp @@ -8,8 +8,6 @@ /* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */ /* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */ /* */ -/* Author: George Marques <george@gmarqu.es> */ -/* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ /* "Software"), to deal in the Software without restriction, including */ @@ -29,8 +27,13 @@ /* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ + #include "audio_stream_opus.h" +/** + @author George Marques <george@gmarqu.es> +*/ + const float AudioStreamPlaybackOpus::osrate = 48000.0f; int AudioStreamPlaybackOpus::_op_read_func(void *_stream, unsigned char *_ptr, int _nbytes) { |
