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
Toshihiro Shimizu 890ddd
void cribbioNonCapiscoNulla() {}
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
void mammaChePaura() {}
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
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
}