Skip to content

Commit 2a8d3f2

Browse files
committed
Cleanup obsolete classes
1 parent 0fba760 commit 2a8d3f2

File tree

6 files changed

+0
-35
lines changed

6 files changed

+0
-35
lines changed

src/AudioTools/AudioLibs/RTSP.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -598,9 +598,5 @@ class RTSPOutput : public AudioOutput {
598598
AudioStreamer rtsp_streamer;
599599
};
600600

601-
// legacy name
602-
#if USE_OBSOLETE
603-
using RTSPStream = RTSPOutput;
604-
#endif
605601

606602
} // namespace audio_tools

src/AudioTools/CoreAudio/AudioMetaData/MetaData.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,5 @@ class MetaDataOutput : public AudioOutput {
109109

110110
};
111111

112-
// legacy name
113-
#if USE_OBSOLETE
114-
using MetaDataPrint = MetaDataOutput;
115-
#endif
116112

117113
}

src/AudioTools/CoreAudio/AudioOutput.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,6 @@ template <typename T> class CsvOutput : public AudioOutput {
232232
}
233233
};
234234

235-
// legacy name
236-
#if USE_OBSOLETE
237-
template <typename T> using CsvStream = CsvOutput<T>;
238-
#endif
239235

240236
/**
241237
* @brief Creates a Hex Dump
@@ -298,10 +294,6 @@ class HexDumpOutput : public AudioOutput {
298294
int pos = 0;
299295
};
300296

301-
// legacy name
302-
#if USE_OBSOLETE
303-
using HexDumpOutput = HexDumpOutput;
304-
#endif
305297

306298
/**
307299
* @brief Mixing of multiple outputs to one final output
@@ -610,10 +602,6 @@ class MemoryOutput : public AudioOutput {
610602
size_t max_size;
611603
};
612604

613-
// legacy name
614-
#if USE_OBSOLETE
615-
using MemoryPrint = MemoryOutput;
616-
#endif
617605

618606
/**
619607
* @brief Simple functionality to extract mono streams from a multichannel (e.g.

src/AudioTools/CoreAudio/AudioPWM/AudioPWM.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,6 @@ class PWMAudioOutput : public AudioOutput {
9595
PWMDriver pwm; // platform specific pwm
9696
};
9797

98-
// legacy name
99-
#if USE_OBSOLETE
100-
using PWMAudioStream = PWMAudioOutput;
101-
#endif
10298

10399
} // namespace audio_tools
104100

src/AudioTools/CoreAudio/AudioTypes.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,6 @@ class AudioInfoSupport {
145145
/// provides the actual output AudioInfo: this is usually the same as audioInfo() unless we use a transforming stream
146146
virtual AudioInfo audioInfoOut() { return audioInfo();}
147147
};
148-
// Support legacy name
149-
#if USE_OBSOLETE
150-
using AudioBaseInfo = AudioInfo;
151-
using AudioBaseInfoDependent = AudioInfoSupport;
152-
using AudioInfoDependent = AudioInfoSupport;
153-
#endif
154148

155149
/**
156150
* @brief Supports the subscription to audio change notifications

src/AudioTools/CoreAudio/BaseStream.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -405,11 +405,6 @@ class QueueStream : public BaseStream {
405405
bool owns_buffer = false;
406406
};
407407

408-
#if USE_OBSOLETE
409-
// support legacy name
410-
template <typename T>
411-
using CallbackBufferedStream = QueueStream<T>;
412-
#endif
413408

414409
#ifndef SWIG
415410

0 commit comments

Comments
 (0)