Skip to content

Add native microphone support for Android, iOS, and macOSX#440

Merged
uezo merged 1 commit intomasterfrom
develop
Aug 10, 2025
Merged

Add native microphone support for Android, iOS, and macOSX#440
uezo merged 1 commit intomasterfrom
develop

Conversation

@uezo
Copy link
Owner

@uezo uezo commented Aug 10, 2025

Introduced platform-specific native microphone implementations for Android, iOS, and macOSX, each with voice processing and permission handling.

Also added IMicrophoneProvider interface and platform-specific provider classes to abstract microphone access and updated MicrophoneManager to use the new provider abstraction, improving cross-platform support and maintainability.

Example:

// Use iOS native microphone (Unity built-in on editor)
var microphoneManager = gameObject.GetComponent<MicrophoneManager>();
microphoneManager.MicrophoneProvider = new IOSMicrophoneProvider();

Introduced platform-specific native microphone implementations for Android, iOS, and macOSX, each with voice processing and permission handling.

Also added `IMicrophoneProvider` interface and platform-specific provider classes to abstract microphone access and updated `MicrophoneManager` to use the new provider abstraction, improving cross-platform support and maintainability.

Example:

```csharp
// Use iOS native microphone (Unity built-in on editor)
var microphoneManager = gameObject.GetComponent<MicrophoneManager>();
microphoneManager.MicrophoneProvider = new IOSMicrophoneProvider();
```
@uezo uezo merged commit a5ecf74 into master Aug 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant