diff options
Diffstat (limited to 'docs/source/luascript/ref-common.rst')
-rw-r--r-- | docs/source/luascript/ref-common.rst | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/docs/source/luascript/ref-common.rst b/docs/source/luascript/ref-common.rst index 1cc467fe82a..6a7c735951c 100644 --- a/docs/source/luascript/ref-common.rst +++ b/docs/source/luascript/ref-common.rst @@ -100,12 +100,11 @@ emu.add_machine_post_load_notifier(callback) to a previously saved state. Returns a :ref:`notifier subscription <luascript-ref-notifiersub>`. emu.register_sound_update(callback) - Add a callback to receive new samples that have been created. THe - samples are coming from the sound devices for which the hook - property has been set to true. The callback gets one parameter - which is a hash with device tag as key and a (channel-sized) - vector of (buffer-sized) vector of - samples in the -1..1 range. + Add a callback to receive new samples that have been created. The samples + are coming from the sound devices for which the hook property has been set + to true. The callback gets one parameter which is a hash with device tag + as key and a (channel-sized) vector of (buffer-sized) vector of samples + in the -1..1 range. emu.print_error(message) Print an error message. emu.print_warning(message) |