add read( float * )

optimize full volume
This commit is contained in:
Glenn Maynard
2004-01-14 22:09:55 +00:00
parent 1cac9d7b6f
commit f25f68b3f5
2 changed files with 36 additions and 6 deletions
+1
View File
@@ -69,6 +69,7 @@ class SoundMixBuffer
public:
void write(const Sint16 *buf, unsigned size);
void read(Sint16 *buf);
void read( float *buf );
unsigned size() const { return used; }
void SetVolume(float f);