Fix warnings about shortening 64 bits to 32 bits.
This commit is contained in:
@@ -150,7 +150,7 @@ private:
|
||||
float *m_BufferNext; // beginning of the unread data
|
||||
int m_FramesInBuffer; // total number of frames at m_BufferNext
|
||||
int64_t m_iPosition; // stream frame of m_BufferNext
|
||||
sound_block() { m_FramesInBuffer = m_iPosition = 0; m_BufferNext = m_Buffer; }
|
||||
sound_block() { m_FramesInBuffer = 0; m_iPosition = 0; m_BufferNext = m_Buffer; }
|
||||
};
|
||||
|
||||
struct Sound
|
||||
|
||||
@@ -326,7 +326,7 @@ float RageSoundDriver_AU::GetPlayLatency() const
|
||||
bufferSize += frames;
|
||||
} while( false );
|
||||
|
||||
return bufferSize / sampleRate;
|
||||
return float( bufferSize / sampleRate );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user