change param order

This commit is contained in:
Glenn Maynard
2006-11-30 02:11:08 +00:00
parent 71c95983dc
commit 3afa9e231e
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -527,7 +527,7 @@ bool RageSound::GetDataToPlay( int16_t *pBuffer, int iFrames, int &iSoundFrame,
void RageSound::CommitPlayingPosition( int64_t frameno, int pos, int iGotFrames ) void RageSound::CommitPlayingPosition( int64_t frameno, int pos, int iGotFrames )
{ {
m_Mutex.Lock(); m_Mutex.Lock();
m_PositionMapping.Insert( frameno, pos, iGotFrames ); m_PositionMapping.Insert( frameno, iGotFrames, pos );
m_Mutex.Unlock(); m_Mutex.Unlock();
} }
+1 -1
View File
@@ -49,7 +49,7 @@ pos_map_queue &pos_map_queue::operator=( const pos_map_queue &rhs )
return *this; 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() ) if( m_pImpl->m_Queue.size() )
{ {
+1 -1
View File
@@ -13,7 +13,7 @@ public:
pos_map_queue &operator=( const pos_map_queue &rhs ); pos_map_queue &operator=( const pos_map_queue &rhs );
/* Insert a mapping from iSourceFrame to iDestFrame, containing iFrames. */ /* 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. */ /* Return the iDestFrame for the given iSourceFrame. */
int64_t Search( int64_t iSourceFrame, bool *bApproximate ) const; int64_t Search( int64_t iSourceFrame, bool *bApproximate ) const;