Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PlayStopResetController"/> class.
 /// </summary>
 /// <param name="audioPlayer">The audio player.</param>
 /// <param name="actionType">Type of the action.</param>
 /// <param name="playbackType">Type of the playback.</param>
 internal PlayStopResetController(IAudioPlayer audioPlayer, ControllerActionType actionType = ControllerActionType.PlayStop, ContinuousPlaybackType playbackType = ContinuousPlaybackType.Single)
     : base(audioPlayer, actionType, playbackType)
 {
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PlayStopController" /> class.
 /// </summary>
 /// <param name="audioPlayer">The audio player.</param>
 /// <param name="actionType">Type of the action.</param>
 /// <param name="playbackType">Type of the playback.</param>
 internal PlayStopController(IAudioPlayer audioPlayer, ControllerActionType actionType, ContinuousPlaybackType playbackType)
     : base(audioPlayer)
 {
     this.Action       = actionType;
     this.PlaybackType = playbackType;
 }