CDFSFiler v2.46
CDFSFiler now integrates a built in player for music CDs, which includes a
simple track shuffler and the usual play/stop/skip/eject controls. This is
available from CDFSFiler version 2.46 and is included in RISC OS 5.03.
Providing a simple player in CDFS ensures the system can always play CDs,
even when the computer is "shift booted".
To make provision for alternative players (of the user's choosing),
applications authors have in the past had to have a seperate module which
typically installs a filter on the filer to catch some unique sequence of
mouse events - e.g. right clicking on the filer would open their player.
To avoid the need for this, and to ensure a user interface consistent with
the rest of the RISC OS desktop CDFSFiler has been extended to warn other
applications that the "Player" entry of its menu has been pressed.
When "Player" is selected from the iconbar menu a message is broadcast:
The message block is very simple:
| data + 0 = | | drive number for which the player is required
| | data + 4 = | | flags word, currently zero
|
If this message bounces an attempt will be made to run the system variable
CDFSFiler$Player (which would be set up in the 3rd party player's !Boot file
to point to its !Run file for example).
The above message is then re-sent.
If it still bounces the internal player is used within CDFSFiler.
 |
| © 2006 IYONIX Ltd |
32-bit RISC OS |
|