[vlc-commits] sout: sdi: clean up unused methods
Francois Cartegnie
git at videolan.org
Mon Oct 8 18:11:36 CEST 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Oct 8 18:10:44 2018 +0200| [4536f93acd9fc0015e64ac3c11121cada52499a7] | committer: Francois Cartegnie
sout: sdi: clean up unused methods
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4536f93acd9fc0015e64ac3c11121cada52499a7
---
modules/stream_out/sdi/AES3Audio.cpp | 13 -------------
modules/stream_out/sdi/AES3Audio.hpp | 2 --
2 files changed, 15 deletions(-)
diff --git a/modules/stream_out/sdi/AES3Audio.cpp b/modules/stream_out/sdi/AES3Audio.cpp
index 32e1a8e0ed..8bf95a11fa 100644
--- a/modules/stream_out/sdi/AES3Audio.cpp
+++ b/modules/stream_out/sdi/AES3Audio.cpp
@@ -227,14 +227,6 @@ vlc_tick_t AES3AudioBuffer::bufferStart() const
return start;
}
-vlc_tick_t AES3AudioBuffer::bufferEnd() const
-{
- vlc_tick_t start = bufferStart();
- if(start != VLC_TICK_INVALID)
- start += CLOCK_FREQ * FramesToDuration(BytesToFrames(block_BytestreamRemaining(&bytestream)));
- return start;
-}
-
unsigned AES3AudioBuffer::availableVirtualSamples(vlc_tick_t from) const
{
vlc_tick_t start = bufferStart();
@@ -334,11 +326,6 @@ void AES3AudioSubFrameSource::forwardTo(vlc_tick_t t)
aes3AudioBuffer->forwardTo(t);
}
-const AES3AudioSubFrameIndex & AES3AudioSubFrameSource::index() const
-{
- return bufferSubFrameIdx;
-}
-
bool AES3AudioSubFrameSource::available() const
{
return aes3AudioBuffer == NULL;
diff --git a/modules/stream_out/sdi/AES3Audio.hpp b/modules/stream_out/sdi/AES3Audio.hpp
index f18fb58271..c2c172d6ae 100644
--- a/modules/stream_out/sdi/AES3Audio.hpp
+++ b/modules/stream_out/sdi/AES3Audio.hpp
@@ -48,7 +48,6 @@ namespace sdi_sout
~AES3AudioBuffer();
void setSubFramesCount(uint8_t);
vlc_tick_t bufferStart() const;
- vlc_tick_t bufferEnd() const;
unsigned availableVirtualSamples(vlc_tick_t) const;
unsigned alignedInterleaveInSamples(vlc_tick_t, unsigned) const;
void push(block_t *);
@@ -89,7 +88,6 @@ namespace sdi_sout
void forwardTo(vlc_tick_t t);
unsigned availableVirtualSamples(vlc_tick_t) const;
unsigned alignedInterleaveInSamples(vlc_tick_t, unsigned) const;
- const AES3AudioSubFrameIndex & index() const;
bool available() const;
vlc_fourcc_t getCodec() const;
More information about the vlc-commits
mailing list