mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
MusicMod: Prepare to fix the MusicMod build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3505 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
50
Externals/MusicMod/Player/Src/VisCache.h
vendored
Normal file
50
Externals/MusicMod/Player/Src/VisCache.h
vendored
Normal file
@ -0,0 +1,50 @@
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// 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_VIS_CACHE_H
|
||||
#define PA_VIS_CACHE_H
|
||||
|
||||
|
||||
#include "Global.h"
|
||||
|
||||
|
||||
|
||||
namespace VisCache
|
||||
{
|
||||
void Create();
|
||||
void Destroy();
|
||||
|
||||
void EnsureLatency( int iLatency ); // TODO
|
||||
void EnsureDataFps( int iFps ); // TODO
|
||||
|
||||
void Clean();
|
||||
|
||||
void SetReadTime( int ms );
|
||||
void SetWriteTime( int ms );
|
||||
|
||||
int LatencyToOffset( int iLatency );
|
||||
void NextFrame();
|
||||
|
||||
void PutSpecLeft( unsigned char * data );
|
||||
void PutSpecRight( unsigned char * data );
|
||||
void PutWaveLeft( unsigned char * data );
|
||||
void PutWaveRight( unsigned char * data );
|
||||
|
||||
void GetSpecLeft( unsigned char * dest, int iOffset );
|
||||
void GetSpecRight( unsigned char * dest, int iOffset );
|
||||
void GetWaveLeft( unsigned char * dest, int iOffset );
|
||||
void GetWaveRight( unsigned char * dest, int iOffset );
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif // PA_VIS_CACHE_H
|
Reference in New Issue
Block a user