C# Class GAudio.SourceToStreamModule

This component broadcasts a G-Audio audio stream ( IGATAudioThreadStream ) from a Unity AudioSource. The stream will have as many interleaved channels as Unity outputs ( GATInfo.NbOfChannels ). The stream should be de-interleaved with a StreamSplitterModule before it can be routed through G-Audio tracks.
Inheritance: UnityEngine.MonoBehaviour, IGATAudioThreadStreamOwner
Afficher le fichier Open project: gregzo/G-Audio

Méthodes publiques

Свойство Type Description
playThrough bool

Protected Properties

Свойство Type Description
_audioThreadStreamProxy GATAudioThreadStreamProxy
_source UnityEngine.AudioSource

Private Properties

Свойство Type Description
IGATAudioThreadStreamOwner IGATAudioThreadStream

Méthodes protégées

Méthode Description
Awake ( ) : void
OnAudioFilterRead ( float data, int numChannels ) : void

Private Methods

Méthode Description
IGATAudioThreadStreamOwner ( int index ) : IGATAudioThreadStream

Method Details

Awake() protected méthode

protected Awake ( ) : void
Résultat void

OnAudioFilterRead() protected méthode

protected OnAudioFilterRead ( float data, int numChannels ) : void
data float
numChannels int
Résultat void

Property Details

_audioThreadStreamProxy protected_oe property

protected GATAudioThreadStreamProxy,GAudio _audioThreadStreamProxy
Résultat GATAudioThreadStreamProxy

_source protected_oe property

protected AudioSource,UnityEngine _source
Résultat UnityEngine.AudioSource

playThrough public_oe property

If true, broadcasting the stream will not interrupt normal audio playback.
public bool playThrough
Résultat bool