SoundPlugin and HostWindowPlugin differs between Cog and Squeak VMs

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

SoundPlugin and HostWindowPlugin differs between Cog and Squeak VMs

EstebanLM

Hi,
VMMaker-oscog SoundPlugin and HostWindowPlugin have some primitives absent on VMMaker.dtl.221. Now, I think the "correct" ones are those from plain squeakvm, but I'm not sure about that.
Any one know which version is "the correct one"?
How to incorporate "the correct one" to the other version?

HostWindowPlugin cog primitives absent in squeakvm:

primitiveHostWindowScreenWorkAreaPosition:
primitiveHostWindowScreenWorkAreaSize:
primitiveNativeDisplayPosition:
primitiveNativeDisplaySize:
primitiveNativeWindowPosition:
primitiveNativeWindowSize:
primitiveSetCursorPositionX:Y:
primitiveSqueakWindowHandle

SoundPlugin cog primitives absent in squeakvm:

primitiveGetDefaultSoundPlayer
primitiveGetDefaultSoundRecorder
primitiveGetNumberOfSoundPlayerDevices
primitiveGetNumberOfSoundRecorderDevices
primitiveGetSoundPlayerDeviceName
primitiveGetSoundRecorderDeviceName
primitiveSetDefaultSoundPlayer
primitiveSetDefaultSoundRecorder
primitiveSoundEnableAEC:
primitiveSoundGetRecordLevel
primitiveSoundGetRecordingSampleRate
primitiveSoundSupportsAEC

Cheers,
Esteban
Reply | Threaded
Open this post in threaded view
|

Re: SoundPlugin and HostWindowPlugin differs between Cog and Squeak VMs

Eliot Miranda-2
 


On Tue, Mar 1, 2011 at 10:20 AM, Esteban Lorenzano <[hidden email]> wrote:

Hi,
VMMaker-oscog SoundPlugin and HostWindowPlugin have some primitives absent on VMMaker.dtl.221. Now, I think the "correct" ones are those from plain squeakvm, but I'm not sure about that.
Any one know which version is "the correct one"?
How to incorporate "the correct one" to the other version?

It's just a little work.  I need to update my script that derives an OSCog from my Teleplace Cog and make it load the standard plugins (all of them including F2TPlugin), and then make a pass over platforms to eliminate the Teleplace changes.  Other things I urgently need to do (but will have to wait until after Lille) are publish the new Alien callbacks (much nicer) and fold the support code into the standard VM.
 

HostWindowPlugin cog primitives absent in squeakvm:

primitiveHostWindowScreenWorkAreaPosition:
primitiveHostWindowScreenWorkAreaSize:
primitiveNativeDisplayPosition:
primitiveNativeDisplaySize:
primitiveNativeWindowPosition:
primitiveNativeWindowSize:
primitiveSetCursorPositionX:Y:
primitiveSqueakWindowHandle

SoundPlugin cog primitives absent in squeakvm:

primitiveGetDefaultSoundPlayer
primitiveGetDefaultSoundRecorder
primitiveGetNumberOfSoundPlayerDevices
primitiveGetNumberOfSoundRecorderDevices
primitiveGetSoundPlayerDeviceName
primitiveGetSoundRecorderDeviceName
primitiveSetDefaultSoundPlayer
primitiveSetDefaultSoundRecorder
primitiveSoundEnableAEC:
primitiveSoundGetRecordLevel
primitiveSoundGetRecordingSampleRate
primitiveSoundSupportsAEC

Cheers,
Esteban

Reply | Threaded
Open this post in threaded view
|

Re: SoundPlugin and HostWindowPlugin differs between Cog and Squeak VMs

Juan Vuletich-4
 
Hi Eliot,

Eliot Miranda wrote:

>
> On Tue, Mar 1, 2011 at 10:20 AM, Esteban Lorenzano
> <[hidden email] <mailto:[hidden email]>> wrote:
>
>
>     Hi,
>     VMMaker-oscog SoundPlugin and HostWindowPlugin have some
>     primitives absent on VMMaker.dtl.221. Now, I think the "correct"
>     ones are those from plain squeakvm, but I'm not sure about that.
>     Any one know which version is "the correct one"?
>     How to incorporate "the correct one" to the other version?
>
>
> It's just a little work.  I need to update my script that derives an
> OSCog from my Teleplace Cog and make it load the standard plugins (all
> of them including F2TPlugin), and then make a pass over platforms to
> eliminate the Teleplace changes.  Other things I urgently need to do
> (but will have to wait until after Lille) are publish the new Alien
> callbacks (much nicer) and fold the support code into the standard VM.
>  

I found a small difference between your Cog builds for Windows and the
official Windows VM. On the official VM alt+leftClick generates
wheel/centerButton click. This is not done by your Windows VMs, maybe
because of some Teleplace change. You might want to add this back, it is
quite useful on machines with just 2 mouse buttons (like many notebooks).

Thanks,
Juan Vuletich