Add an initializer for a static const member.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@850 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
14177eea70
commit
2b5b2a0e01
|
@ -20,6 +20,9 @@
|
|||
extern int emulating;
|
||||
extern bool speedup;
|
||||
|
||||
// Hold up to 100 ms of data in the ring buffer
|
||||
const float SoundSDL::_delay = 0.1f;
|
||||
|
||||
SoundSDL::SoundSDL():
|
||||
_rbuf(0)
|
||||
{
|
||||
|
|
|
@ -41,8 +41,8 @@ private:
|
|||
SDL_cond * _cond;
|
||||
SDL_mutex * _mutex;
|
||||
|
||||
// Hold up to 100 ms of data in the ring buffer
|
||||
static const float _delay = 0.1f;
|
||||
// Defines what delay in seconds we keep in the sound buffer
|
||||
static const float _delay;
|
||||
|
||||
static void soundCallback(void *data, u8 *stream, int length);
|
||||
virtual void read(u16 * stream, int length);
|
||||
|
|
Loading…
Reference in New Issue