comparison data/fileio/OggVorbisFileReader.cpp @ 186:06ad01f3e553

* Add system-specific LADSPA and DSSI plugin paths (for OS/X and Windows) * Add ability to open more than one audio file at once from the command line * Add plugin input source selection (with some caveats) * Show name of file being decoded in Ogg/mp3 decode progress dialog
author Chris Cannam
date Thu, 12 Oct 2006 14:56:28 +0000
parents c03ec31005e1
children 71dfc6ab3b54
comparison
equal deleted inserted replaced
185:d5052b5fea9c 186:06ad01f3e553
64 fish_sound_set_decoded_callback(m_fishSound, acceptFrames, this); 64 fish_sound_set_decoded_callback(m_fishSound, acceptFrames, this);
65 oggz_set_read_callback(oggz, -1, readPacket, this); 65 oggz_set_read_callback(oggz, -1, readPacket, this);
66 66
67 if (showProgress) { 67 if (showProgress) {
68 m_progress = new QProgressDialog 68 m_progress = new QProgressDialog
69 (QObject::tr("Decoding Ogg file..."), 69 (QObject::tr("Decoding %1...").arg(QFileInfo(path).fileName()),
70 QObject::tr("Stop"), 0, 100); 70 QObject::tr("Stop"), 0, 100);
71 m_progress->hide(); 71 m_progress->hide();
72 } 72 }
73 73
74 while (oggz_read(oggz, 1024) > 0); 74 while (oggz_read(oggz, 1024) > 0);