summaryrefslogtreecommitdiffstats
path: root/modules/ogg/ogg_packet_sequence.h
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-08-31 19:24:04 +0200
committerkobewi <kobewi4e@gmail.com>2022-09-01 13:13:19 +0200
commit7adc8376ed79f016730845ea3a93f4015b95149e (patch)
treec0c41fc0189d3763538db5d13bc0af70aa82b9bc /modules/ogg/ogg_packet_sequence.h
parent736632ee7ed00a3474448cfd227f696f82905ac7 (diff)
downloadredot-engine-7adc8376ed79f016730845ea3a93f4015b95149e.tar.gz
Change Array arguments to TypedArray
Diffstat (limited to 'modules/ogg/ogg_packet_sequence.h')
-rw-r--r--modules/ogg/ogg_packet_sequence.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/ogg/ogg_packet_sequence.h b/modules/ogg/ogg_packet_sequence.h
index efd3b64a39..c275f0c639 100644
--- a/modules/ogg/ogg_packet_sequence.h
+++ b/modules/ogg/ogg_packet_sequence.h
@@ -67,11 +67,11 @@ public:
// This should be called for each page, even for pages that no packets ended on.
void push_page(int64_t p_granule_pos, const Vector<PackedByteArray> &p_data);
- void set_packet_data(const Array &p_data);
- Array get_packet_data() const;
+ void set_packet_data(const TypedArray<Array> &p_data);
+ TypedArray<Array> get_packet_data() const;
- void set_packet_granule_positions(const Array &p_granule_positions);
- Array get_packet_granule_positions() const;
+ void set_packet_granule_positions(const PackedInt64Array &p_granule_positions);
+ PackedInt64Array get_packet_granule_positions() const;
// Sets a sampling rate associated with this object. OggPacketSequence doesn't understand codecs,
// so this value is naively stored as a convenience.