Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
copilot summary
This pull request includes several changes to the
OggEncoder
class in thecom.utilities.encoder.ogg
package. The changes introduce new methods, update existing methods, and make some structural improvements. Additionally, there are updates to the package version and dependencies.Enhancements to
OggEncoder
class:[Preserve]
attribute to several methods to ensure they are not stripped by the linker. (OggEncoder.cs
- [1] [2] [3]InitOggStream
method withWriteOggHeader
to improve clarity and functionality. (OggEncoder.cs
- [1] [2] [3] [4]StreamSaveToDiskAsync
method to useClipData
instead ofAudioClip
and added exception handling and logging. (OggEncoder.cs
- [1] [2] [3] [4] [5]Package updates:
4.0.0
and changed dependency version forcom.utilities.audio
to2.0.1
. (package.json
- [1] [2]ProjectSettings.asset
- [1] [2]Removal of obsolete files:
wav_sample.wav.meta
file from the samples directory. (wav_sample.wav.meta
- com.utilities.encoder.ogg/Packages/com.com.utilities.encoder.ogg/Samples~/wav_sample.wav.metaL1-L22)