Theora video support + audio improvements #20

Merged
cosmonaut merged 10 commits from video into main 2022-08-02 21:04:13 +00:00
  • SoundInstance.Play no longer takes a loop parameter

  • SoundInstance.Stop is split into Stop and StopImmediate instead of taking an immediate parameter

  • Added StreamingSoundSeekable to better support streaming audio that does not support seek

  • StreamingSound no longer has a Loop property, but StreamingSoundSeekable does

  • abstract StreamingSound.AddBuffer renamed to FillBuffer

  • FillBuffer is now provided with a native buffer to avoid an extra data copy

  • StreamingSound buffer implementation optimized to avoid repeated alloc/frees

  • added Video class which can load and play Theora (.ogv) streaming video/audio

- `SoundInstance.Play` no longer takes a loop parameter - `SoundInstance.Stop` is split into `Stop` and `StopImmediate` instead of taking an immediate parameter - Added `StreamingSoundSeekable` to better support streaming audio that does not support seek - `StreamingSound` no longer has a Loop property, but `StreamingSoundSeekable` does - abstract `StreamingSound.AddBuffer` renamed to `FillBuffer` - `FillBuffer` is now provided with a native buffer to avoid an extra data copy - `StreamingSound` buffer implementation optimized to avoid repeated alloc/frees - added `Video` class which can load and play Theora (.ogv) streaming video/audio
cosmonaut added 10 commits 2022-08-02 20:59:26 +00:00
cosmonaut merged commit efb9893aef into main 2022-08-02 21:04:13 +00:00
cosmonaut deleted branch video 2022-08-02 21:04:13 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: MoonsideGames/MoonWorks#20
There is no content yet.