use Sint32 char_traits

This commit is contained in:
Glenn Maynard
2003-02-14 22:50:38 +00:00
parent 5940c3a148
commit 85d15e9976
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -293,7 +293,7 @@ void SoundMixBuffer::write(const Sint16 *buf, unsigned size)
{
if(mixbuf.size() < size)
{
basic_string<Sint32> empty(size-mixbuf.size(), 0);
basic_string<Sint32,char_traits_Sint32> empty(size-mixbuf.size(), 0);
mixbuf.insert(mixbuf.end(), empty.begin(), empty.end());
}
+2 -1
View File
@@ -3,6 +3,7 @@
#include <set>
#include <map>
#include "SDL_utils.h"
#include "arch/Sound/RageSoundDriver.h"
#include "RageThreads.h"
@@ -67,7 +68,7 @@ public:
/* This inputs and outputs 16-bit 44khz stereo input. */
class SoundMixBuffer
{
basic_string<Sint32> mixbuf;
basic_string<Sint32,char_traits_Sint32> mixbuf;
float vol;
public: