Skip to content

Commit

Permalink
refactor: mark SampleBuffer::ReadableSlice/WriteableSlice deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
Swiftb0y committed May 12, 2024
1 parent 01ebedd commit d150a55
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/util/samplebuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ class SampleBuffer final {
// Fills the whole buffer with the same value
void fill(CSAMPLE value);

/// Deprecated: use std::span<const CSAMPLE>, SampleBuffer::span() const and
/// mixxx::spanutil::spanFromPtrLen from util/span.h instead.
class ReadableSlice {
public:
ReadableSlice()
Expand Down Expand Up @@ -143,6 +145,8 @@ class SampleBuffer final {
SINT m_length;
};

/// Deprecated: use std::span<CSAMPLE>, SampleBuffer::span() and
/// mixxx::spanutil::spanFromPtrLen from util/span.h instead.
class WritableSlice {
public:
WritableSlice()
Expand Down

0 comments on commit d150a55

Please sign in to comment.