2003-02-12 01:54:01 +00:00
|
|
|
#ifndef RAGE_SOUND_NULL
|
|
|
|
|
#define RAGE_SOUND_NULL
|
|
|
|
|
|
2004-03-19 01:32:03 +00:00
|
|
|
#include "RageSoundDriver_Generic_Software.h"
|
2003-02-20 15:17:06 +00:00
|
|
|
|
2004-03-19 01:32:03 +00:00
|
|
|
class RageSound_Null: public RageSound_Generic_Software
|
2003-02-12 01:54:01 +00:00
|
|
|
{
|
2003-06-13 20:49:09 +00:00
|
|
|
private:
|
2004-03-19 01:32:03 +00:00
|
|
|
int64_t last_cursor_pos;
|
2003-02-20 15:17:06 +00:00
|
|
|
|
2003-06-13 20:49:09 +00:00
|
|
|
protected:
|
2004-03-19 01:32:03 +00:00
|
|
|
int64_t GetPosition( const RageSoundBase *snd ) const;
|
|
|
|
|
float GetPlayLatency() const;
|
|
|
|
|
void Update( float fDeltaTime );
|
2003-02-20 15:17:06 +00:00
|
|
|
|
2003-06-13 20:49:09 +00:00
|
|
|
public:
|
2003-02-20 22:54:12 +00:00
|
|
|
RageSound_Null();
|
2003-02-12 01:54:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2003 by the person(s) listed below. All rights reserved.
|
|
|
|
|
*
|
|
|
|
|
* Glenn Maynard
|
2003-02-20 15:17:06 +00:00
|
|
|
*
|
|
|
|
|
* 2003-02 Modified to fake playing sound Aaron VonderHaar
|
|
|
|
|
*
|
2003-02-12 01:54:01 +00:00
|
|
|
*/
|