change param order
This commit is contained in:
@@ -527,7 +527,7 @@ bool RageSound::GetDataToPlay( int16_t *pBuffer, int iFrames, int &iSoundFrame,
|
||||
void RageSound::CommitPlayingPosition( int64_t frameno, int pos, int iGotFrames )
|
||||
{
|
||||
m_Mutex.Lock();
|
||||
m_PositionMapping.Insert( frameno, pos, iGotFrames );
|
||||
m_PositionMapping.Insert( frameno, iGotFrames, pos );
|
||||
m_Mutex.Unlock();
|
||||
}
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ pos_map_queue &pos_map_queue::operator=( const pos_map_queue &rhs )
|
||||
return *this;
|
||||
}
|
||||
|
||||
void pos_map_queue::Insert( int64_t iSourceFrame, int iDestFrame, int iFrames )
|
||||
void pos_map_queue::Insert( int64_t iSourceFrame, int iFrames, int iDestFrame )
|
||||
{
|
||||
if( m_pImpl->m_Queue.size() )
|
||||
{
|
||||
|
||||
@@ -13,7 +13,7 @@ public:
|
||||
pos_map_queue &operator=( const pos_map_queue &rhs );
|
||||
|
||||
/* Insert a mapping from iSourceFrame to iDestFrame, containing iFrames. */
|
||||
void Insert( int64_t iSourceFrame, int iDestFrame, int iFrames );
|
||||
void Insert( int64_t iSourceFrame, int iFrames, int iDestFrame );
|
||||
|
||||
/* Return the iDestFrame for the given iSourceFrame. */
|
||||
int64_t Search( int64_t iSourceFrame, bool *bApproximate ) const;
|
||||
|
||||
Reference in New Issue
Block a user