module: 'SoundPlugin' on Mac OS.
John M McIntosh
johnmci at smalltalkconsulting.com
Fri Dec 22 04:16:16 UTC 2006
The soundplugin is builtin, lurking somewhere on the list is the
magic Smalltalk code to get back a list of the loaded plugins, which
would include the ones internally to the VM executable, and the ones
you have loaded via a binary (externally).
In a quick look at the C code it looks like if the recording is NOT
running it primitive fails the primitiveSoundGetRecordingSampleRate.
It is possible that the windows source code does not fail the
primitive call, you would need to look at the windows source code to
confirm it's behaviour.
So start recording, then look at the
primitiveSoundGetRecordingSampleRate value.
On Dec 21, 2006, at 11:01 AM, efimov wrote:
> Hello squeak-dev,
>
> I am developing a Squeak application
> that is supposed to run on Microsoft Windows
> and on Macs.
>
> Recently I encountered the the following problem:
> I do
> RecordingControlsMorph new openCenteredInWorld
> this uses the SoundRecorder object.
>
> On Windows everything works fine, but on Mac OS X
> I get an error message from SoundRecorder:
> <primitive: 'primitiveSoundGetRecordingSampleRate'
> module:'SoundPlugin'>
>
> saying that SoundPlugin is not available.
>
> I assume there is no SoundPlugin for Mac OS. Would it be possible
> to build a VM with this plugin or can I just download and install it
> as an external plugin.
>
> Thank you.
>
> The systems I am running the application on are
> System 1: Microsoft Windows XP prof. Ver 2002 Service Pack 2,
> version VM: Squeak3.8-6665.
>
> System 2: Mac OS X 10.4.6
> version VM: Squeak 3.7-7 (3.7-5989) or Squeak 3.8.14beta7U
>
> --
> Best regards,
> Danil mailto:daniil.efimov at sibers.com
>
>
>
--
========================================================================
===
John M. McIntosh <johnmci at smalltalkconsulting.com>
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
========================================================================
===
More information about the Squeak-dev
mailing list
|