Urho
1.0.0.0
Urho.RefCounted
Base class for sound streams.
In addition to playing existing sound resources, sound can be generated during runtime using the class and its subclasses. To start playback of a stream on a , call .
Sound streaming is used internally to implement on-the-fly Ogg Vorbis decoding. See the SoundSynthesis sample for an example of using the subclass, which allows the sound data to be queued for playback from the main thread.
Constructor
1.0.0.0
Preserve
Pointer to the raw unmanaged Urho object.
Constructs a new instance of Urho.Audio.SoundStream, given a raw pointer to an unmanaged object
This creates a new managed wrapper for the type using the raw pointer to an unmanaged object.
Objects that are created in this fashion get registered with the UrhoSharp runtime.
This is intended to be used by the UrhoSharp runtime, and is not intended to be used by users.
Constructor
1.0.0.0
Preserve
Pass UrhoObjectFlag.Empty.
Empty constructor, chain to this constructor when you provide your own constructor that sets the handle field.
This constructor should be invoked by your code if you provide your own constructor that sets the handle field.
This essentially circumvents the default path that creates a new object and sets the handle and does not call RegisterObject on the target, you must do this on your own constructor.
You would typically chain to this constructor from your own, and then set the handle to the unmanaged object from your code, and then register your object.
Property
1.0.0.0
System.Single
Return default frequency as a float.
To be added.
To be added.
Method
1.0.0.0
System.UInt32
To be added.
To be added.
Produce sound data into destination. Return number of bytes produced. Called by SoundSource from the mixing thread.
To be added.
To be added.
Property
1.0.0.0
System.UInt32
Return default frequency as an integer.
To be added.
To be added.
Property
1.0.0.0
System.UInt32
Return sample size.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
Set sound data format.
To be added.
Property
1.0.0.0
System.Boolean
Return whether audio data is sixteen bit.
To be added.
To be added.
Property
1.0.0.0
System.Boolean
Return whether data is stereo.
To be added.
To be added.
Property
1.0.0.0
System.Boolean
Return whether playback should stop when no more data.
Or
Set whether playback should stop when no more data. Default false.
To be added.
To be added.