27#ifndef __PLATFORMAUDIOOUT_H__
28#define __PLATFORMAUDIOOUT_H__
30#include "../../devices/PAudioOut.h"
31#include "../../base/PEBLObject.h"
43#if !defined(PEBL_MIXER) || defined(PEBL_AUDIOIN)
99 bool LoadSoundFromData( Uint8 *buffer,
long unsigned int size, SDL_AudioSpec *spec, Uint32 recordpos = 0);
102 virtual bool CreateSineWave(
float freq,
long unsigned int length,
long double volume);
114 void SetRepeats(
int num){mRepeats=num;};
115 void SetRecordPos(Uint32 pos){mRecordPos=pos;};
118#if !defined(PEBL_MIXER) || defined(PEBL_AUDIOIN)
135 std::string mFilename;
139 Mix_Chunk * mMixerSample;
141 SDL_AudioSpec mOriginalSpec;
virtual bool SetPanning(const double left, const double right)
unsigned int bytesPerSample