summaryrefslogtreecommitdiffstats
path: root/src/metadata/m4a/mp4propsproxy.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-04-12 12:42:48 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-04-13 20:04:16 +0900
commitf2bd39a3d6ca8d34615d3f8dea58aac249a511a0 (patch)
tree144605aa73f30ae139ad180230d7d21ff3d8737f /src/metadata/m4a/mp4propsproxy.cpp
parent18bdfb200cdb167f6e10ead03c19544e48510277 (diff)
downloadsoundkonverter-f2bd39a3.tar.gz
soundkonverter-f2bd39a3.zip
Add support for taglib 2r14.1.2
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 2eda7f08c699160b1f42a0a66156559fa5479778)
Diffstat (limited to 'src/metadata/m4a/mp4propsproxy.cpp')
-rw-r--r--src/metadata/m4a/mp4propsproxy.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/metadata/m4a/mp4propsproxy.cpp b/src/metadata/m4a/mp4propsproxy.cpp
index ebee9c2..70f3849 100644
--- a/src/metadata/m4a/mp4propsproxy.cpp
+++ b/src/metadata/m4a/mp4propsproxy.cpp
@@ -45,15 +45,15 @@ MP4::Mp4PropsProxy::~Mp4PropsProxy()
delete d;
}
-TagLib::uint MP4::Mp4PropsProxy::seconds() const
+uint MP4::Mp4PropsProxy::seconds() const
{
if( d->mvhdbox )
- return static_cast<TagLib::uint>( d->mvhdbox->duration() / d->mvhdbox->timescale() );
+ return static_cast<uint>( d->mvhdbox->duration() / d->mvhdbox->timescale() );
else
return 0;
}
-TagLib::uint MP4::Mp4PropsProxy::channels() const
+uint MP4::Mp4PropsProxy::channels() const
{
if( d->audiosampleentry )
return d->audiosampleentry->channels();
@@ -61,7 +61,7 @@ TagLib::uint MP4::Mp4PropsProxy::channels() const
return 0;
}
-TagLib::uint MP4::Mp4PropsProxy::sampleRate() const
+uint MP4::Mp4PropsProxy::sampleRate() const
{
if( d->audiosampleentry )
return (d->audiosampleentry->samplerate()>>16);
@@ -69,7 +69,7 @@ TagLib::uint MP4::Mp4PropsProxy::sampleRate() const
return 0;
}
-TagLib::uint MP4::Mp4PropsProxy::bitRate() const
+uint MP4::Mp4PropsProxy::bitRate() const
{
if( d->audiosampleentry )
return (d->audiosampleentry->bitrate());