Exemplo n.º 1
0
  void testReading()
  {
    ScopedFileCopy copy("empty", ".aiff");
    string filename = copy.fileName();

    RIFF::AIFF::File *f = new RIFF::AIFF::File(filename.c_str());
    CPPUNIT_ASSERT_EQUAL(705, f->audioProperties()->bitrate());
  }
Exemplo n.º 2
0
  void testReading()
  {
    string filename = copyFile("empty", ".aiff");

    RIFF::AIFF::File *f = new RIFF::AIFF::File(filename.c_str());
    CPPUNIT_ASSERT_EQUAL(689, f->audioProperties()->bitrate());

    deleteFile(filename);
  }