mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
Removed MusicMod, it's hacky, it's not maintained and it seems it didn't compile for a while now.
Also with the advance of LLE sound we won't really need it. If someone disagree feel free to make it compile and recommit :-) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3176 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
87
Externals/MusicMod/Player/Src/OutputPlugin.h
vendored
87
Externals/MusicMod/Player/Src/OutputPlugin.h
vendored
@ -1,87 +0,0 @@
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Plainamp, Open source Winamp core
|
||||
//
|
||||
// Copyright <20> 2005 Sebastian Pipping <webmaster@hartwork.org>
|
||||
//
|
||||
// --> http://www.hartwork.org
|
||||
//
|
||||
// This source code is released under the GNU General Public License (GPL).
|
||||
// See GPL.txt for details. Any non-GPL usage is strictly forbidden.
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
#ifndef PA_OUTPUT_PLUGIN_H
|
||||
#define PA_OUTPUT_PLUGIN_H
|
||||
|
||||
|
||||
|
||||
#include "Global.h"
|
||||
#include "Plugin.h"
|
||||
#include "Winamp/Out.h"
|
||||
#include <vector>
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
|
||||
typedef Out_Module * ( * WINAMP_OUTPUT_GETTER )( void );
|
||||
|
||||
|
||||
class OutputPlugin;
|
||||
|
||||
extern vector <OutputPlugin *> output_plugins;
|
||||
extern OutputPlugin ** active_output_plugins;
|
||||
extern int active_output_count;
|
||||
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// Winamp output plugin wrapper
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
class OutputPlugin : public Plugin
|
||||
{
|
||||
public:
|
||||
OutputPlugin( TCHAR * szDllpath, bool bKeepLoaded );
|
||||
|
||||
bool Load();
|
||||
bool Unload();
|
||||
|
||||
TCHAR * GetTypeString() { return TEXT( "Output" ); }
|
||||
int GetTypeStringLen() { return 6; }
|
||||
PluginType GetType() { return PLUGIN_TYPE_OUTPUT; }
|
||||
|
||||
inline bool IsActive() { return bActive; }
|
||||
|
||||
bool About( HWND hParent );
|
||||
bool Config( HWND hParent );
|
||||
|
||||
bool Start();
|
||||
bool Stop();
|
||||
|
||||
Out_Module * plugin; // Moved to public
|
||||
|
||||
private:
|
||||
bool bActive;
|
||||
int iArrayIndex;
|
||||
|
||||
|
||||
|
||||
// TODO
|
||||
friend bool OpenPlay( TCHAR * szFilename, int iNumber );
|
||||
|
||||
friend int Output_Open( int samplerate, int numchannels, int bitspersamp, int bufferlenms, int prebufferms );
|
||||
friend void Output_Close();
|
||||
friend int Output_Write( char * buf, int len );
|
||||
friend int Output_CanWrite();
|
||||
friend int Output_IsPlaying();
|
||||
friend int Output_Pause( int pause );
|
||||
friend void Output_SetVolume( int volume );
|
||||
friend void Output_SetPan( int pan );
|
||||
friend void Output_Flush( int t );
|
||||
friend int Output_GetOutputTime();
|
||||
friend int Output_GetWrittenTime();
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif // PA_OUTPUT_PLUGIN_H
|
Reference in New Issue
Block a user