The Trunk: EToys-eem.432.mcz

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

The Trunk: EToys-eem.432.mcz

commits-2
Eliot Miranda uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-eem.432.mcz

==================== Summary ====================

Name: EToys-eem.432
Author: eem
Time: 14 March 2021, 2:54:59.084913 pm
UUID: 3c860a71-8994-4ff8-b978-93ea09ab6e0b
Ancestors: EToys-nice.431

Add CameraInterface class>>cameraDevices to accompany SoundPlayer class>>playerDevices and SoundRecorder class>>recorderDevices.

=============== Diff against EToys-nice.431 ===============

Item was added:
+ ----- Method: CameraInterface class>>cameraDevices (in category 'utilities') -----
+ cameraDevices
+ "CameraInterface cameraDevices"
+ ^Array streamContents:
+ [:s| | i |
+ i := 1.
+ [(self cameraName: i)
+ ifNotNil: [:cameraName| s nextPut: cameraName. true]
+ ifNil: [false]] whileTrue: [i := i + 1]]!