aboutsummaryrefslogtreecommitdiffstats
path: root/taglib/trueaudio/trueaudiofile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'taglib/trueaudio/trueaudiofile.cpp')
-rw-r--r--taglib/trueaudio/trueaudiofile.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/taglib/trueaudio/trueaudiofile.cpp b/taglib/trueaudio/trueaudiofile.cpp
index 0f362da9..b584b7fd 100644
--- a/taglib/trueaudio/trueaudiofile.cpp
+++ b/taglib/trueaudio/trueaudiofile.cpp
@@ -99,6 +99,23 @@ TrueAudio::File::File(FileName file, ID3v2::FrameFactory *frameFactory,
read(readProperties, propertiesStyle);
}
+TrueAudio::File::File(IOStream *stream, bool readProperties,
+ Properties::ReadStyle propertiesStyle) : TagLib::File(stream)
+{
+ d = new FilePrivate;
+ if(isOpen())
+ read(readProperties, propertiesStyle);
+}
+
+TrueAudio::File::File(IOStream *stream, ID3v2::FrameFactory *frameFactory,
+ bool readProperties, Properties::ReadStyle propertiesStyle) :
+ TagLib::File(stream)
+{
+ d = new FilePrivate(frameFactory);
+ if(isOpen())
+ read(readProperties, propertiesStyle);
+}
+
TrueAudio::File::~File()
{
delete d;