Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoerg Mueller <nexyon@gmail.com>2011-10-02 22:00:06 +0400
committerJoerg Mueller <nexyon@gmail.com>2011-10-02 22:00:06 +0400
commita4a09fc638e5a37a365fe24597393a4068da279d (patch)
treeb0eb80ab8c134fb990bec6c335d674a35d471bc0 /doc
parent1714d1cfe2e932f1ab04467f611b8dbb377ead32 (diff)
Fix for [#28792] Invalid 'aud' documentation examples.
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/examples/aud.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/python_api/examples/aud.py b/doc/python_api/examples/aud.py
index e41e8214cc0..2c74d6a0eb1 100644
--- a/doc/python_api/examples/aud.py
+++ b/doc/python_api/examples/aud.py
@@ -11,10 +11,10 @@ device = aud.device()
factory = aud.Factory('music.ogg')
# play the audio, this return a handle to control play/pause
-handle = device.play(sound)
+handle = device.play(factory)
# if the audio is not too big and will be used often you can buffer it
-factory_buffered = aud.Factory.buffer(sound)
-handle_buffered = device.play(buffered)
+factory_buffered = aud.Factory.buffer(factory)
+handle_buffered = device.play(factory_buffered)
# stop the sounds (otherwise they play until their ends)
handle.stop()