Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 77483 Details for
Bug 113283
Rezound segfaults when starting audio playback on AMD64
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
required amd64 patch
rezound-amd64.patch (text/plain), 1.59 KB, created by
Christian Hoenig
on 2006-01-18 16:54:03 UTC
(
hide
)
Description:
required amd64 patch
Filename:
MIME Type:
Creator:
Christian Hoenig
Created:
2006-01-18 16:54:03 UTC
Size:
1.59 KB
patch
obsolete
>=================================================================== >RCS file: /cvsroot/rezound/rezound/src/backend/CSoundPlayerChannel.cpp,v >retrieving revision 1.37 >retrieving revision 1.38 >diff -u -r1.37 -r1.38 >--- rezound/rezound/src/backend/CSoundPlayerChannel.cpp 2005/08/21 01:01:15 1.37 >+++ rezound/rezound/src/backend/CSoundPlayerChannel.cpp 2005/11/12 04:13:29 1.38 >@@ -721,8 +721,8 @@ > if(!muted[i]) // ??? this memory needs to be locked for JACK's sake > { > // populate for interpolation >- readBuffer[-(2*channelCount)+i]=prevLast2Frames[0][i]; >- readBuffer[- channelCount +i]=prevLast2Frames[1][i]; >+ readBuffer[-(2*(int)channelCount)+(int)i]=prevLast2Frames[0][i]; >+ readBuffer[- (int)channelCount +(int)i]=prevLast2Frames[1][i]; > const sample_t * const rreadBuffer=readBuffer-(2*channelCount); > > const vector<bool> outputRouting=getOutputRoute(0,i); // ??? this needs to be put into a data member of memory NOT TO BE SWAPPED for jack's sake and it needs to be updated in updateAfterEdit() >@@ -765,8 +765,8 @@ > } > > // save the last 2 samples and (later) the offset into the next-to-last so that we can use it for interpolation the next go around >- prevLast2Frames[0][i]=readBuffer[((framesRead-2)*channelCount)+i]; >- prevLast2Frames[1][i]=readBuffer[((framesRead-1)*channelCount)+i]; >+ prevLast2Frames[0][i]=readBuffer[(((int)framesRead-2)*(int)channelCount)+(int)i]; >+ prevLast2Frames[1][i]=readBuffer[(((int)framesRead-1)*(int)channelCount)+(int)i]; > } > > // if all channels were muted, or none were mapped to an output device then this value never got set
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 113283
:
77482
| 77483 |
83177