Sound_Player module

find

procedureSource

The playing stream with this entity_id and manager_id, or null. Set those on a stream to find it later.

Example
sound := load_audio_file("jump.wav");
stream := make_stream(*sound);
stream.entity_id = 7;
start_playing(stream);
assert(find(7, 0) == stream);

This one is only checked to compile, not run.

find :: (entity_id: s64, manager_id: s64) -> *Sound_Stream

Parameters

entity_id: s64
manager_id: s64

Returns

See also