cleanup
This commit is contained in:
@@ -33,7 +33,6 @@ class RageSound_DSound: public RageSoundDriver
|
|||||||
stream() { pcm = NULL; snd = NULL; state=INACTIVE; }
|
stream() { pcm = NULL; snd = NULL; state=INACTIVE; }
|
||||||
~stream();
|
~stream();
|
||||||
};
|
};
|
||||||
friend struct stream;
|
|
||||||
|
|
||||||
/* Pool of available streams. */
|
/* Pool of available streams. */
|
||||||
vector<stream *> stream_pool;
|
vector<stream *> stream_pool;
|
||||||
|
|||||||
@@ -14,10 +14,8 @@ class RageSound_DSound_Software: public RageSoundDriver
|
|||||||
struct sound {
|
struct sound {
|
||||||
RageSoundBase *snd;
|
RageSoundBase *snd;
|
||||||
RageTimer start_time;
|
RageTimer start_time;
|
||||||
|
|
||||||
bool stopping;
|
bool stopping;
|
||||||
|
int flush_pos; /* when stopping only */
|
||||||
int flush_pos; /* state == STOPPING only */
|
|
||||||
|
|
||||||
sound() { snd = NULL; stopping=false; }
|
sound() { snd = NULL; stopping=false; }
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user