mirror of
https://github.com/taglib/taglib.git
synced 2025-09-15 17:54:25 -04:00
Changed names of derived classes of AudioProperties
This commit is contained in:
@ -98,7 +98,7 @@ private:
|
||||
|
||||
CPPUNIT_ASSERT(file.isValid());
|
||||
|
||||
IT::Properties *p = file.audioProperties();
|
||||
IT::AudioProperties *p = file.audioProperties();
|
||||
Mod::Tag *t = file.tag();
|
||||
|
||||
CPPUNIT_ASSERT(0 != p);
|
||||
|
@ -100,7 +100,7 @@ private:
|
||||
|
||||
CPPUNIT_ASSERT(file.isValid());
|
||||
|
||||
Mod::Properties *p = file.audioProperties();
|
||||
Mod::AudioProperties *p = file.audioProperties();
|
||||
Mod::Tag *t = file.tag();
|
||||
|
||||
CPPUNIT_ASSERT(0 != p);
|
||||
|
@ -38,7 +38,7 @@ public:
|
||||
CPPUNIT_ASSERT_EQUAL(3, f.audioProperties()->bitrate());
|
||||
CPPUNIT_ASSERT_EQUAL(2, f.audioProperties()->channels());
|
||||
CPPUNIT_ASSERT_EQUAL(44100, f.audioProperties()->sampleRate());
|
||||
CPPUNIT_ASSERT_EQUAL(16, ((MP4::Properties *)f.audioProperties())->bitsPerSample());
|
||||
CPPUNIT_ASSERT_EQUAL(16, ((MP4::AudioProperties *)f.audioProperties())->bitsPerSample());
|
||||
}
|
||||
|
||||
void testPropertiesALAC()
|
||||
@ -48,7 +48,7 @@ public:
|
||||
CPPUNIT_ASSERT_EQUAL(2, f.audioProperties()->bitrate());
|
||||
CPPUNIT_ASSERT_EQUAL(2, f.audioProperties()->channels());
|
||||
CPPUNIT_ASSERT_EQUAL(44100, f.audioProperties()->sampleRate());
|
||||
CPPUNIT_ASSERT_EQUAL(16, ((MP4::Properties *)f.audioProperties())->bitsPerSample());
|
||||
CPPUNIT_ASSERT_EQUAL(16, ((MP4::AudioProperties *)f.audioProperties())->bitsPerSample());
|
||||
}
|
||||
|
||||
void testCheckValid()
|
||||
|
@ -26,7 +26,7 @@ public:
|
||||
CPPUNIT_ASSERT_EQUAL(0, f.audioProperties()->bitrate());
|
||||
CPPUNIT_ASSERT_EQUAL(1, f.audioProperties()->channels());
|
||||
CPPUNIT_ASSERT_EQUAL(48000, f.audioProperties()->sampleRate());
|
||||
CPPUNIT_ASSERT_EQUAL(48000, ((Ogg::Opus::Properties *)f.audioProperties())->inputSampleRate());
|
||||
CPPUNIT_ASSERT_EQUAL(48000, ((Ogg::Opus::AudioProperties *)f.audioProperties())->inputSampleRate());
|
||||
}
|
||||
|
||||
void testReadComments()
|
||||
|
@ -88,7 +88,7 @@ private:
|
||||
|
||||
CPPUNIT_ASSERT(file.isValid());
|
||||
|
||||
S3M::Properties *p = file.audioProperties();
|
||||
S3M::AudioProperties *p = file.audioProperties();
|
||||
Mod::Tag *t = file.tag();
|
||||
|
||||
CPPUNIT_ASSERT(0 != p);
|
||||
|
@ -21,7 +21,7 @@ public:
|
||||
void testBasic()
|
||||
{
|
||||
WavPack::File f(TEST_FILE_PATH_C("no_length.wv"));
|
||||
WavPack::Properties *props = f.audioProperties();
|
||||
WavPack::AudioProperties *props = f.audioProperties();
|
||||
CPPUNIT_ASSERT_EQUAL(44100, props->sampleRate());
|
||||
CPPUNIT_ASSERT_EQUAL(2, props->channels());
|
||||
CPPUNIT_ASSERT_EQUAL(1, props->bitrate());
|
||||
@ -31,7 +31,7 @@ public:
|
||||
void testLengthScan()
|
||||
{
|
||||
WavPack::File f(TEST_FILE_PATH_C("no_length.wv"));
|
||||
WavPack::Properties *props = f.audioProperties();
|
||||
WavPack::AudioProperties *props = f.audioProperties();
|
||||
CPPUNIT_ASSERT_EQUAL(4, props->length());
|
||||
}
|
||||
|
||||
|
@ -120,7 +120,7 @@ public:
|
||||
XM::File file(TEST_FILE_PATH_C("stripped.xm"));
|
||||
CPPUNIT_ASSERT(file.isValid());
|
||||
|
||||
XM::Properties *p = file.audioProperties();
|
||||
XM::AudioProperties *p = file.audioProperties();
|
||||
Mod::Tag *t = file.tag();
|
||||
|
||||
CPPUNIT_ASSERT(0 != p);
|
||||
@ -166,7 +166,7 @@ private:
|
||||
|
||||
CPPUNIT_ASSERT(file.isValid());
|
||||
|
||||
XM::Properties *p = file.audioProperties();
|
||||
XM::AudioProperties *p = file.audioProperties();
|
||||
Mod::Tag *t = file.tag();
|
||||
|
||||
CPPUNIT_ASSERT(0 != p);
|
||||
|
Reference in New Issue
Block a user