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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/resources/sample.cpp b/scene/resources/sample.cpp
index 8ea02ac943..e07e4d3767 100644
--- a/scene/resources/sample.cpp
+++ b/scene/resources/sample.cpp
@@ -119,18 +119,18 @@ int Sample::get_length() const {
return length;
}
-void Sample::set_data(const DVector<uint8_t>& p_buffer) {
+void Sample::set_data(const PoolVector<uint8_t>& p_buffer) {
if (sample.is_valid())
AudioServer::get_singleton()->sample_set_data(sample,p_buffer);
}
-DVector<uint8_t> Sample::get_data() const {
+PoolVector<uint8_t> Sample::get_data() const {
if (sample.is_valid())
return AudioServer::get_singleton()->sample_get_data(sample);
- return DVector<uint8_t>();
+ return PoolVector<uint8_t>();
}