File diff r23496:661d21df67d7 → r23497:a0ab44ebd2fa
src/sound/xaudio2_s.h
Show inline comments
 
@@ -17,17 +17,17 @@
 
/** Implementation of the XAudio2 sound driver. */
 
class SoundDriver_XAudio2 : public SoundDriver {
 
public:
 
	/* virtual */ const char *Start(const char * const *param);
 
	const char *Start(const char * const *param) override;
 

	
 
	/* virtual */ void Stop();
 
	/* virtual */ const char *GetName() const { return "xaudio2"; }
 
	void Stop() override;
 
	const char *GetName() const override { return "xaudio2"; }
 
};
 

	
 
/** Factory for the XAudio2 sound driver. */
 
class FSoundDriver_XAudio2 : public DriverFactoryBase {
 
public:
 
	FSoundDriver_XAudio2() : DriverFactoryBase(Driver::DT_SOUND, 10, "xaudio2", "XAudio2 Sound Driver") {}
 
	/* virtual */ Driver *CreateInstance() const { return new SoundDriver_XAudio2(); }
 
	Driver *CreateInstance() const override { return new SoundDriver_XAudio2(); }
 
};
 

	
 
#endif /* SOUND_XAUDIO2_H */