/* -----------------------------------------------------------------------------
	GSFramework
	Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
----------------------------------------------------------------------------- */


#ifndef	__SAMPLEWAVCODEC__
#define	__SAMPLEWAVCODEC__


		#include "audio/sample_factory.h"


namespace GS {
	struct ISample;

/// Sample WAV codec
struct	SampleWavFactory : public ISampleFactory
{
		/// Get the codec name.
virtual	const char	*GetName() { return "WAV"; }
		/// Load a sample.
virtual	ISample		*Load(const char *path);
};

} // GS


#endif	// __SAMPLEWAVCODEC__
