Skip to content

Commit

Permalink
Add visionOS support (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
Macoron committed Feb 10, 2024
1 parent 9e402ff commit 3d4ef02
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions Packages/com.whisper.unity/Plugins/iOS/libwhisper.a.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Packages/com.whisper.unity/Runtime/Native/WhisperNative.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Whisper.Native
/// </summary>
public static unsafe class WhisperNative
{
#if (UNITY_IOS || UNITY_ANDROID) && !UNITY_EDITOR
#if (UNITY_IOS || UNITY_VISIONOS || UNITY_ANDROID) && !UNITY_EDITOR
private const string LibraryName = "__Internal";

#elif WHISPER_CUDA
Expand Down

0 comments on commit 3d4ef02

Please sign in to comment.