summaryrefslogtreecommitdiff
path: root/modules/chibi
diff options
context:
space:
mode:
Diffstat (limited to 'modules/chibi')
-rw-r--r--modules/chibi/event_stream_chibi.cpp4
-rw-r--r--modules/chibi/event_stream_chibi.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/chibi/event_stream_chibi.cpp b/modules/chibi/event_stream_chibi.cpp
index 0b680b4fda..73d1c01e33 100644
--- a/modules/chibi/event_stream_chibi.cpp
+++ b/modules/chibi/event_stream_chibi.cpp
@@ -298,9 +298,9 @@ void CPSampleManagerImpl::unlock_data(CPSample_ID p_id){
sd->locks--;
if (sd->locks==0) {
- sd->w=DVector<uint8_t>::Write();
+ sd->w=PoolVector<uint8_t>::Write();
AudioServer::get_singleton()->sample_set_data(sd->rid,sd->lock);
- sd->lock=DVector<uint8_t>();
+ sd->lock=PoolVector<uint8_t>();
}
}
diff --git a/modules/chibi/event_stream_chibi.h b/modules/chibi/event_stream_chibi.h
index 9c6c883f61..0244ee0a95 100644
--- a/modules/chibi/event_stream_chibi.h
+++ b/modules/chibi/event_stream_chibi.h
@@ -54,8 +54,8 @@ class CPSampleManagerImpl : public CPSampleManager {
int loop_begin;
int loop_end;
int locks;
- DVector<uint8_t> lock;
- DVector<uint8_t>::Write w;
+ PoolVector<uint8_t> lock;
+ PoolVector<uint8_t>::Write w;
CPSample_Loop_Type loop_type;
};