An identifier for a sound sample managed by a sound_handler. More...
|sound_sample (int id, const RunResources &r)|
|const RunResources &||_runResources|
An identifier for a sound sample managed by a sound_handler.
Definition tags will maintain a mapping between SWF-defined id of the sound and these identifiers.
Specifying an identifier for use by sound_handler would likely be claner, anyway this is what it is *currently*.
NOTE that the destructor of this identifier (thus becoming a "smart" identifier) requests the currently registered sound_handler removal of the identified sound_sample. This *might* be the reason why it is a ref-counted thing (hard to belive...).
This is ref_counted because it is an export. TODO: check whether it really needs to be ref counted.
|const RunResources &||r|