Blame toonz/sources/sound/tsio.cpp
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#include "tnzsound.h"
|
|
Toshihiro Shimizu |
890ddd |
#include "tsio.h"
|
|
Toshihiro Shimizu |
890ddd |
// #include "tpluginmanager.h"
|
|
Toshihiro Shimizu |
890ddd |
#include "tsound_io.h"
|
|
Toshihiro Shimizu |
890ddd |
#include "tfiletype.h"
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
// static TPluginInfo info("soundIOPlugin");
|
|
Toshihiro Shimizu |
890ddd |
|
|
Shinya Kitaoka |
120a6e |
void initSoundIo() {
|
|
Shinya Kitaoka |
120a6e |
TSoundTrackReader::define("wav", TSoundTrackReaderWav::create);
|
|
Shinya Kitaoka |
120a6e |
TSoundTrackWriter::define("wav", TSoundTrackWriterWav::create);
|
|
Shinya Kitaoka |
120a6e |
TFileType::declare("wav", TFileType::AUDIO_LEVEL);
|
|
Toshihiro Shimizu |
890ddd |
|
|
Shinya Kitaoka |
120a6e |
TSoundTrackReader::define("aiff", TSoundTrackReaderAiff::create);
|
|
Shinya Kitaoka |
120a6e |
TSoundTrackWriter::define("aiff", TSoundTrackWriterAiff::create);
|
|
Shinya Kitaoka |
120a6e |
TFileType::declare("aiff", TFileType::AUDIO_LEVEL);
|
|
Toshihiro Shimizu |
890ddd |
|
|
jabarrera |
d4754f |
TSoundTrackReader::define("aif", TSoundTrackReaderAiff::create);
|
|
jabarrera |
d4754f |
TSoundTrackWriter::define("aif", TSoundTrackWriterAiff::create);
|
|
jabarrera |
d4754f |
TFileType::declare("aif", TFileType::AUDIO_LEVEL);
|
|
jabarrera |
d4754f |
|
|
Shinya Kitaoka |
120a6e |
TSoundTrackReader::define("raw", TSoundTrackReaderRaw::create);
|
|
Shinya Kitaoka |
120a6e |
TSoundTrackWriter::define("raw", TSoundTrackWriterRaw::create);
|
|
Shinya Kitaoka |
120a6e |
TFileType::declare("raw", TFileType::AUDIO_LEVEL);
|
|
Toshihiro Shimizu |
890ddd |
|
|
Jeremy Bullock |
3f5067 |
if (FfmpegAudio::checkFfmpeg()) {
|
|
Jeremy Bullock |
3f5067 |
TSoundTrackReader::define("mp3", TSoundTrackReaderMp3::create);
|
|
Jeremy Bullock |
3f5067 |
// TSoundTrackWriter::define("mp3", TSoundTrackWriterMp3::create);
|
|
Jeremy Bullock |
3f5067 |
TFileType::declare("mp3", TFileType::AUDIO_LEVEL);
|
|
Jeremy Bullock |
3f5067 |
}
|
|
Shinya Kitaoka |
120a6e |
// return &info;
|
|
Toshihiro Shimizu |
890ddd |
}
|