Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    SoundInstanceStreamedBuffer Class

    Namespace: Stride.Audio
    Assembly: Stride.Audio.dll

    A Sound Instance where the SoundSource comes from a StreamedBufferSoundSource, and implementing ISynchronizedMediaExtractor interface

    System.Object → DisposeBase → ComponentBase → SoundInstance → SoundInstanceStreamedBuffer
    Derived from SoundInstanceStreamedBuffer:

    public class SoundInstanceStreamedBuffer : SoundInstance, IDisposable, IComponent, IReferencable, ICollectorHolder, IPositionableSound, IPlayableSound, IMediaPlayer, IMediaReader
    Name Description
    Properties
    SpeedFactor
    Methods
    ReachedEndOfMedia()
    Seek(TimeSpan)
    SeekRequestCompleted()
    | Improve this Doc View Source

    Properties


    SpeedFactor

    public float SpeedFactor { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    Methods


    ReachedEndOfMedia()

    public bool ReachedEndOfMedia()
    Returns
    Type Description
    System.Boolean

    Seek(TimeSpan)

    public void Seek(TimeSpan mediaTime)
    Parameters
    Type Name Description
    System.TimeSpan mediaTime

    SeekRequestCompleted()

    public bool SeekRequestCompleted()
    Returns
    Type Description
    System.Boolean

    Inherited Members

    SoundInstance.soundSource
    SoundInstance.sound
    SoundInstance.engine
    SoundInstance.isLooping
    SoundInstance.pan
    SoundInstance.pitch
    SoundInstance.volume
    SoundInstance.spatialized
    SoundInstance.playState
    SoundInstance.IsLooping
    SoundInstance.Pan
    SoundInstance.Volume
    SoundInstance.Pitch
    SoundInstance.ReadyToPlay()
    SoundInstance.Apply3D(AudioEmitter)
    SoundInstance.Pause()
    SoundInstance.Play()
    SoundInstance.PlayExclusive()
    SoundInstance.Stop()
    SoundInstance.Destroy()
    SoundInstance.Play(Boolean)
    SoundInstance.PlayState
    SoundInstance.DynamicSoundSource
    SoundInstance.SetRange(PlayRange)
    SoundInstance.Position
    ComponentBase.Tags
    ComponentBase.Name
    ComponentBase.ICollectorHolder.Collector
    ComponentBase.OnNameChanged()
    ComponentBase.ToString()
    DisposeBase.Dispose()
    DisposeBase.IsDisposed
    DisposeBase.IReferencable.ReferenceCount
    DisposeBase.IReferencable.AddReference()
    DisposeBase.IReferencable.Release()
    DisposeBase.OnAddReference()
    DisposeBase.OnReleaseReference()

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation