Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OnAudioFilterRead sample mismatch #317

Open
neegool opened this issue Dec 20, 2024 · 1 comment · May be fixed by #323
Open

OnAudioFilterRead sample mismatch #317

neegool opened this issue Dec 20, 2024 · 1 comment · May be fixed by #323
Assignees
Labels
bug Something isn't working

Comments

@neegool
Copy link

neegool commented Dec 20, 2024

Bug Report

Overview

Trying out the sample scenes, the audio playback works fine in the editor, but plays slower and lower-pitched on a device (tested with an iPhone 14 Pro). It looks like the sample rate of the audio stream does not match the expected sample rate of the device.

To Reproduce

Steps to reproduce the behavior:

  1. Play with the sample scene (OpenAIChatSample) in the editor
  2. Create a build on the device
  3. Do the same thing on device.

Expected behavior

The streaming audio should be consistent between the editor and the build.

Screenshots

n/a

Additional context

Unity editor versions tested: 6000.0.31, 2022.3.54
iOS version: 18.2

@neegool neegool added the bug Something isn't working label Dec 20, 2024
@StephenHodgson StephenHodgson self-assigned this Dec 20, 2024
@StephenHodgson
Copy link
Member

StephenHodgson commented Dec 20, 2024

Thanks for reporting. I've got some fixes for this but have not published them yet.

Discord Thread

This was referenced Jan 6, 2025
@StephenHodgson StephenHodgson linked a pull request Jan 16, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

2 participants