出力プラグインのための関数です. 様々なファイル形式での保存やオーディオデバイスなどへの出力が可能となります. 入力プラグインのために使用できる関数も多く含まれています.
#include <sp/spOutputPlugin.h> spPlugin *spOpenFilePlugin(char *plugin_name, char *filename, char *mode, spPluginDeviceType device_type, spWaveInfo *wave_info, spSongInfo *song_info, spPluginOpenCallback call_func, void *call_data, spPluginError *error); spPlugin *spOpenFilePluginAuto(char *plugin_name, char *filename, char *mode, spPluginDeviceType device_type, spWaveInfo *wave_info, spSongInfo *song_info, spPluginOpenCallback call_func, void *call_data, spPluginError *error); spPlugin *spOpenFilePluginArg(char *plugin_name, char *filename, char *mode, spPluginDeviceType device_type, spWaveInfo *wave_info, spSongInfo *song_info, int argc, char **argv, spPluginError *error); spPlugin *spOpenFilePluginArgAuto(char *plugin_name, char *filename, char *mode, spPluginDeviceType device_type, spWaveInfo *wave_info, spSongInfo *song_info, int argc, char **argv, spPluginError *error);
#include <sp/spOutputPlugin.h> spBool spCloseFilePlugin(spPlugin *plugin);
#include <sp/spOutputPlugin.h> long _spWritePlugin(spPlugin *plugin, char *data, long length); #define spWritePlugin(plugin, data, length) _spWritePlugin(plugin, (char *)(data), length) long spWritePluginInByte(spPlugin *plugin, char *data, long data_size); long spWritePluginDouble(spPlugin *plugin, double *data, long length);
#include <sp/spOutputPlugin.h> char *xspFindRelatedPluginFile(char *plugin_name);
#include <sp/spOutputPlugin.h> char *xspFindSuitablePluginFile(spPluginDeviceType device_type, char *filename, char *mode); char *xspFindSuitablePluginFileWithPriority(spPluginDeviceType device_type, char *filename, char *mode, int *current_priority);
Last modified: "2013-06-23 19:21:40 hideki"