Skip to content

Commit

Permalink
com.utilities.encoder.wav 1.0.6 (#9)
Browse files Browse the repository at this point in the history
- fixed an issue with default .ctr being stripped from builds
  • Loading branch information
StephenHodgson authored Sep 27, 2023
1 parent 2cab127 commit 98580fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Runtime/WavEncoder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
using System.Threading;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.Scripting;
using Utilities.Async;
using Utilities.Audio;
using Microphone = Utilities.Audio.Microphone;
Expand All @@ -14,6 +15,9 @@ namespace Utilities.Encoding.Wav
{
public class WavEncoder : IEncoder
{
[Preserve]
public WavEncoder() { }

public async Task<Tuple<string, AudioClip>> StreamSaveToDiskAsync(AudioClip clip, string saveDirectory, CancellationToken cancellationToken, Action<Tuple<string, AudioClip>> callback = null, [CallerMemberName] string callingMethodName = null)
{
if (callingMethodName != nameof(RecordingManager.StartRecordingAsync))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Utilities.Encoder.Wav",
"description": "Simple library for WAV encoding support.",
"keywords": [],
"version": "1.0.5",
"version": "1.0.6",
"unity": "2021.3",
"documentationUrl": "https://github.com/RageAgainstThePixel/com.utilities.encoder.wav#documentation",
"changelogUrl": "https://github.com/RageAgainstThePixel/com.utilities.encoder.wav/releases",
Expand Down

0 comments on commit 98580fc

Please sign in to comment.