Astra.AudioVoice
Controls the actual native voice. Play restarts; Resume preserves a paused cursor. Seek is applied by the mixer; its pending target may already appear in Snapshot.
Namespace: Astra · Assembly: Astra.Scripting · Tipo: Struct
Declaração
Seção intitulada “Declaração”readonly struct Astra.AudioVoiceControls the actual native voice. Play restarts; Resume preserves a paused cursor. Seek is applied by the mixer; its pending target may already appear in Snapshot.
Membros
Seção intitulada “Membros”| Membro | Categoria |
|---|---|
| .ctor | Method |
| Pause | Method |
| Play | Method |
| Resume | Method |
| Seek | Method |
| Stop | Method |
| Snapshot | Property |
.ctor
public AudioVoice(Astra.Component component)| Parâmetro | Tipo | Contrato |
|---|---|---|
component |
Astra.Component |
Pause
public void Pause()Play
public void Play()Resume
public void Resume()Seek
public void Seek(double seconds)| Parâmetro | Tipo | Contrato |
|---|---|---|
seconds |
double |
Stop
public void Stop()Snapshot
public Astra.AudioVoiceSnapshot Snapshot { get; }