metaspu: make GetAlignedBufferSize static
This commit is contained in:
parent
d6935d07f7
commit
b2467a6032
|
@ -121,7 +121,7 @@ StereoOut32* SndBuffer::sndTempBuffer = NULL;
|
||||||
StereoOut16* SndBuffer::sndTempBuffer16 = NULL;
|
StereoOut16* SndBuffer::sndTempBuffer16 = NULL;
|
||||||
int SndBuffer::sndTempProgress = 0;
|
int SndBuffer::sndTempProgress = 0;
|
||||||
|
|
||||||
int GetAlignedBufferSize( int comp )
|
static int GetAlignedBufferSize( int comp )
|
||||||
{
|
{
|
||||||
return (comp + SndOutPacketSize-1) & ~(SndOutPacketSize-1);
|
return (comp + SndOutPacketSize-1) & ~(SndOutPacketSize-1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue