Eliot Miranda uploaded a new version of Sound to project The Trunk:
http://source.squeak.org/trunk/Sound-eem.63.mcz ==================== Summary ==================== Name: Sound-eem.63 Author: eem Time: 19 May 2017, 1:17:46.463283 pm UUID: da2f7750-4acd-43c7-923e-757bb7a80737 Ancestors: Sound-pre.62 Add the "new" Terf SoundPlugin primitives that deal with multiple devices etc. =============== Diff against Sound-pre.62 =============== Item was added: + ----- Method: SoundPlayer class>>primGetDefaultSoundPlayer (in category 'private') ----- + primGetDefaultSoundPlayer + "Answer the name of the default output device." + <primitive: 'primitiveGetDefaultSoundPlayer' module: 'SoundPlugin'> + self primitiveFailed! Item was added: + ----- Method: SoundPlayer class>>primGetDefaultSoundRecorder (in category 'private') ----- + primGetDefaultSoundRecorder + "Answer the name of the default input device." + <primitive: 'primitiveGetDefaultSoundRecorder' module: 'SoundPlugin'> + self primitiveFailed! Item was added: + ----- Method: SoundPlayer class>>primGetNumberOfSoundPlayerDevices (in category 'private') ----- + primGetNumberOfSoundPlayerDevices + "Answer the number of output devices." + <primitive: 'primitiveGetNumberOfSoundPlayerDevices' module: 'SoundPlugin'> + self primitiveFailed! Item was added: + ----- Method: SoundPlayer class>>primGetNumberOfSoundRecorderDevices (in category 'private') ----- + primGetNumberOfSoundRecorderDevices + "Answer the number of input devices." + <primitive: 'primitiveGetNumberOfSoundRecorderDevices' module: 'SoundPlugin'> + self primitiveFailed! Item was added: + ----- Method: SoundPlayer class>>primGetSoundPlayerDeviceName: (in category 'private') ----- + primGetSoundPlayerDeviceName: n + "Answer the name of the n'th output device." + <primitive: 'primitiveGetSoundPlayerDeviceName' module: 'SoundPlugin'> + self primitiveFailed! Item was added: + ----- Method: SoundPlayer class>>primGetSoundRecorderDeviceName: (in category 'private') ----- + primGetSoundRecorderDeviceName: n + "Answer the name of the n'th input device." + <primitive: 'primitiveGetSoundRecorderDeviceName' module: 'SoundPlugin'> + self primitiveFailed! Item was added: + ----- Method: SoundPlayer class>>primSetDefaultSoundPlayer: (in category 'private') ----- + primSetDefaultSoundPlayer: deviceName + "Set the default output device by supplying its name." + <primitive: 'primitiveSetDefaultSoundPlayer' module: 'SoundPlugin'> + self primitiveFailed! Item was added: + ----- Method: SoundPlayer class>>primSetDefaultSoundRecorder: (in category 'private') ----- + primSetDefaultSoundRecorder: deviceName + "Set the default input device by supplying its name." + <primitive: 'primitiveSetDefaultSoundRecorder' module: 'SoundPlugin'> + self primitiveFailed! Item was added: + ----- Method: SoundPlayer class>>primSoundEnableAEC: (in category 'private') ----- + primSoundEnableAEC: aBooleanInteger + "Enable or disable acoustic echo-cancellation (AEC). aBooleanInteger should be 0 for false, and 1 for true." + <primitive: 'primitiveSoundEnableAEC' module: 'SoundPlugin'> + self primitiveFailed! Item was added: + ----- Method: SoundPlayer class>>primSoundGetRecordLevel (in category 'private') ----- + primSoundGetRecordLevel + "Return sound as array of doubles left then right channel, range is 0.0 to 1.0 but may be overdriven" + <primitive: 'primitiveSoundGetRecordLevel' module: 'SoundPlugin'> + self primitiveFailed! Item was added: + ----- Method: SoundPlayer class>>primSoundSupportsAEC (in category 'private') ----- + primSoundSupportsAEC + "Answer if the plugin supports echo-cancellation on this OS/hardware." + <primitive: 'primitiveSoundSupportsAEC' module: 'SoundPlugin'> + self primitiveFailed! |
Free forum by Nabble | Edit this page |