AudioChannel()
Object for controlling audio on one of the 4 available channels
Attributes:
play(sound_resource, loop)
[returns: None
]
stop()
[returns: None
]
source
[value: WaveSoundResource or ToneSoundResource, type: object]
gain
[value: any (default is 1.0), type: float]
time
[value: 0.0 to time at the end of the media being played (if there is an end) (read-only and is updated to represent the current time in seconds of teh media being played), type: float]
amplitude
[value: 0.0 to 1.0 (the amplitude of the last sample played on this channel, read-only), type: float]
loop
[value: True or False (whether to loop audio or not), type: boolean]
done
[value: True or False (set True when audio finishes playing if not looping, read-only), type: boolean]
file: src/audio/engine_audio_channel.c
landing