use Sint32 char_traits
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user