opensmalltalk-vm icon indicating copy to clipboard operation
opensmalltalk-vm copied to clipboard

Some sound_RecordSamplesIntoAtLength implementations are not compatible with 64bits

Open nicolas-cellier-aka-nice opened this issue 6 years ago • 1 comments

For example, vm-sound-NAS is trying to pass the buffer address thru an int. That ain't gonna work. We shall review all the implementations and declare void *buf. This is related to old report http://bugs.squeak.org/view.php?id=7835.

Same weirdness for sound_PlaySamplesFromAtLength

Note that a few implementations are legacy-interpreter-friendly: we pass a sqInt which is transformed into a pointer via pointerForOop This is for 32bits image on 64bits VM compatibility for example.