[vlc-commits] sout:AES3Audio: FramesToDuration returns a vlc_tick_t

Steve Lhomme git at videolan.org
Thu Sep 20 16:16:04 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Sep 20 13:45:53 2018 +0200| [1a42526a9ae1fb9926e2eb3b931c6fc514b1b4b4] | committer: Steve Lhomme

sout:AES3Audio: FramesToDuration returns a vlc_tick_t

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1a42526a9ae1fb9926e2eb3b931c6fc514b1b4b4
---

 modules/stream_out/sdi/AES3Audio.cpp | 2 +-
 modules/stream_out/sdi/AES3Audio.hpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/stream_out/sdi/AES3Audio.cpp b/modules/stream_out/sdi/AES3Audio.cpp
index 8a8aa15733..81fcda079d 100644
--- a/modules/stream_out/sdi/AES3Audio.cpp
+++ b/modules/stream_out/sdi/AES3Audio.cpp
@@ -77,7 +77,7 @@ size_t AES3AudioBuffer::FramesToBytes(unsigned f) const
     return (size_t) f * sizeof(uint16_t) * buffersubframes;
 }
 
-int64_t AES3AudioBuffer::FramesToDuration(unsigned f) const
+vlc_tick_t AES3AudioBuffer::FramesToDuration(unsigned f) const
 {
     return CLOCK_FREQ * f / 48000;
 }
diff --git a/modules/stream_out/sdi/AES3Audio.hpp b/modules/stream_out/sdi/AES3Audio.hpp
index a88c5a9fc2..e35d05607f 100644
--- a/modules/stream_out/sdi/AES3Audio.hpp
+++ b/modules/stream_out/sdi/AES3Audio.hpp
@@ -59,7 +59,7 @@ namespace sdi_sout
 
         private:
             size_t   FramesToBytes(unsigned) const;
-            int64_t  FramesToDuration(unsigned) const;
+            vlc_tick_t FramesToDuration(unsigned) const;
             unsigned BytesToFrames(size_t) const;
             unsigned TicksDurationToFrames(vlc_tick_t) const;
             block_bytestream_t bytestream;



More information about the vlc-commits mailing list