/// <summary> /// Loads a specific sound file part by part (on demand). /// </summary> /// <param name="fileName">Path of file.</param> /// <returns>The loaded sound object.</returns> /// <exception cref="Purple.Exceptions.StreamException">If file couldn't be loaded.</exception> /// <exception cref="SoundException">If sound format isn't supported (extension).</exception> public IStreamObject LoadStream(string fileName) { IStreamObject obj = engine.LoadStream(fileName); obj.Channel = this; return(obj); }