summaryrefslogtreecommitdiff
path: root/scene/resources/sample.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/sample.cpp')
-rw-r--r--scene/resources/sample.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/sample.cpp b/scene/resources/sample.cpp
index 4b25a2c490..87fcfc425d 100644
--- a/scene/resources/sample.cpp
+++ b/scene/resources/sample.cpp
@@ -151,8 +151,8 @@ void Sample::set_loop_format(LoopFormat p_format) {
if (sample.is_valid())
AudioServer::get_singleton()->sample_set_loop_format(sample,(AudioServer::SampleLoopFormat)p_format);
loop_format=p_format;
-
}
+
Sample::LoopFormat Sample::get_loop_format() const {
return loop_format;