/*********************************************************************
*	COggAudioPlayer
*	HEADER FILE
*	Autor:	Michal Jirouš
*	Datum: 16.7.2008
*	Soubor: oggaudioplayer.h
*	Popis: Prehravac ogg audio souboru
**********************************************************************/

#ifndef __OGG_AUDIO_PLAYER_H_
#define __OGG_AUDIO_PLAYER_H_

#include "SDL/SDL_sound.h"

class COggAudioPlayer
{
	SDL_AudioSpec m_desired, m_obtained;
public:
	Uint32 m_uiPosition;
	Sound_Sample *m_pSample;

	COggAudioPlayer();
	bool init();
	void destroy();
	bool loadSound( const char * filename );
	void play();
	void stop();
};


#endif // __OGG_AUDIO_PLAYER_H_

