StartDecodeThread()
This commit is contained in:
@@ -34,7 +34,7 @@ int RageSound_Generic_Software::DecodeThread_start( void *p )
|
|||||||
|
|
||||||
void RageSound_Generic_Software::Mix( int16_t *buf, int frames, int64_t frameno, int64_t current_frameno )
|
void RageSound_Generic_Software::Mix( int16_t *buf, int frames, int64_t frameno, int64_t current_frameno )
|
||||||
{
|
{
|
||||||
RAGE_ASSERT_M( m_DecodeThread.IsCreated(), "RageSound_Generic_Software::StartMixing was never called" );
|
RAGE_ASSERT_M( m_DecodeThread.IsCreated(), "RageSound_Generic_Software::StartDecodeThread() was never called" );
|
||||||
|
|
||||||
static SoundMixBuffer mix;
|
static SoundMixBuffer mix;
|
||||||
|
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ int64_t RageSound_Null::GetPosition( const RageSoundBase *snd ) const
|
|||||||
RageSound_Null::RageSound_Null()
|
RageSound_Null::RageSound_Null()
|
||||||
{
|
{
|
||||||
last_cursor_pos = GetPosition( NULL );
|
last_cursor_pos = GetPosition( NULL );
|
||||||
|
|
||||||
|
StartDecodeThread();
|
||||||
}
|
}
|
||||||
|
|
||||||
float RageSound_Null::GetPlayLatency() const
|
float RageSound_Null::GetPlayLatency() const
|
||||||
|
|||||||
Reference in New Issue
Block a user