Pre-resize fillparent
This commit is contained in:
@@ -17,7 +17,7 @@ namespace AudioEngine {
|
||||
~cAudio();
|
||||
|
||||
public:
|
||||
//Functions
|
||||
/// Functions
|
||||
static cAudio& Inst();
|
||||
static void Delete();
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace AudioEngine {
|
||||
void MusicPlay();
|
||||
|
||||
|
||||
///Set
|
||||
/// Set
|
||||
/* Sets the rate */
|
||||
void setRate( const unsigned long int rate = 22050 );
|
||||
/* Sets the audio format */
|
||||
@@ -45,7 +45,7 @@ namespace AudioEngine {
|
||||
/* Sets the buffer */
|
||||
void setBuffers( const unsigned long int buffers = 4096 );
|
||||
|
||||
///Get
|
||||
/// Get
|
||||
/* Gets return true if Audio was initialized */
|
||||
const bool IsInit() const;
|
||||
/* Gets the rate */
|
||||
@@ -60,13 +60,13 @@ namespace AudioEngine {
|
||||
|
||||
private:
|
||||
private:
|
||||
///Variables
|
||||
unsigned long int m_rate;// = 22050;
|
||||
unsigned long int m_format;// = AUDIO_S16;
|
||||
unsigned long int m_channels;// = 2;
|
||||
unsigned long int m_buffers;// = 4096;
|
||||
/// Variables
|
||||
unsigned long int m_rate;/// = 22050;
|
||||
unsigned long int m_format;/// = AUDIO_S16;
|
||||
unsigned long int m_channels;/// = 2;
|
||||
unsigned long int m_buffers;/// = 4096;
|
||||
|
||||
static cAudio* sp_inst;// = nullptr;
|
||||
static cAudio* sp_inst;/// = nullptr;
|
||||
};/// END CLASS DEFINITION cAudio
|
||||
}/// END NAMESPACE DEFINITION AudioEngine
|
||||
#endif/// END IFNDEF _CAUDIO_HPP_
|
||||
|
||||
Reference in New Issue
Block a user