00001 #ifndef RAGE_SOUND_NULL 00002 #define RAGE_SOUND_NULL 00003 00004 #include "RageSoundDriver_Generic_Software.h" 00005 00006 class RageSound_Null: public RageSound_Generic_Software 00007 { 00008 private: 00009 int64_t last_cursor_pos; 00010 00011 protected: 00012 int64_t GetPosition( const RageSoundBase *snd ) const; 00013 float GetPlayLatency() const; 00014 void Update( float fDeltaTime ); 00015 00016 public: 00017 RageSound_Null(); 00018 }; 00019 00020 #endif 00021 00022 /* 00023 * (c) 2002-2004 Glenn Maynard, Aaron VonderHaar 00024 * All rights reserved. 00025 * 00026 * Permission is hereby granted, free of charge, to any person obtaining a 00027 * copy of this software and associated documentation files (the 00028 * "Software"), to deal in the Software without restriction, including 00029 * without limitation the rights to use, copy, modify, merge, publish, 00030 * distribute, and/or sell copies of the Software, and to permit persons to 00031 * whom the Software is furnished to do so, provided that the above 00032 * copyright notice(s) and this permission notice appear in all copies of 00033 * the Software and that both the above copyright notice(s) and this 00034 * permission notice appear in supporting documentation. 00035 * 00036 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00037 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00038 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 00039 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 00040 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 00041 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00042 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00043 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00044 * PERFORMANCE OF THIS SOFTWARE. 00045 */