AudioSampleThe AudioSample type allows you to load audio samples, mostly wav file. More... Inherits Item This type was introduced in Qt 5.0. PropertiesSignalsMethods
Detailed DescriptionAudioSample is part of the QtAudioEngine 1.0 module. It can be accessed through QtAudioEngine1::AudioEngine::samples with its unique name and must be defined inside AudioEngine. import QtQuick 2.0 import QtAudioEngine 1.0 Rectangle { color:"white" width: 300 height: 500 AudioEngine { id:audioengine AudioSample { name:"explosion" source: "explosion-02.wav" } } } Property DocumentationThis property holds indicates whether this sample has been loaded into memory or not. This property holds the load status of the audio sample. This property holds the name of AudioSample, must be unique among all samples and only defined once. This property indicates whether this sample needs to be preloaded or not. If true, the audio engine will start loading the sample file immediately when the app started, otherwise the sample will not be loaded until explicitly requested. Signal DocumentationThis handler is called when loaded is changed Method Documentation |