커뮤니티 Q&A

Audiokinetic의 커뮤니티 Q&A 포럼에 오신 것을 환영합니다. 이 포럼은 Wwise와 Strata 사용자들이 서로 도움을 주는 곳입니다. Audiokinetic의 직접적인 도움을 얻으려면 지원 티켓 페이지를 사용하세요. 버그를 보고하려면 Audiokinetic 런처에서 Bug Report 옵션을 사용하세요. (Q&A 포럼에 제출된 버그 보고는 거절됩니다. 전용 Bug Report 시스템을 사용하면 보고 내용이 담당자에게 정확히 전달되어 문제 해결 가능성이 크게 높아집니다.)<segment 6493>

빠르고 정확한 답변을 얻으려면 질문을 올릴 때 다음 팁을 참고하세요.

  • 구체적인 내용을 적어주세요: 무엇을 하려는지, 혹은 어떤 특정 문제에 부딪혔는지 설명하세요.
  • 핵심 정보를 포함하세요: Wwise와 게임 엔진 버전, 운영체제 등 관련 정보를 함께 제공하세요.
  • 시도한 방법들을 알려주세요: 문제 해결을 위해 이미 어떤 단계를 시도해봤는지 설명해주세요.
  • 객관적인 사실에 초점을 맞추세요: 문제의 기술적 사실을 중심으로 설명하세요. 문제에 집중할수록 다른 사람들이 더 빠르게 해결책을 찾을 수 있습니다.

0 투표

Hi guys.

I'm working on connecting a new 3D audio headset with Unity 5.2.2f1 and Wwise 5.1.2. So far everyone goes right except when the headset is connected via wireless Bluetooth and when I use Wwise. I get voice starvations in the profiler when running the app on Android, and the audio is stuttering. If I circumvent Wwise and just play audio from an audio source in Unity and profile this in Wwise, I still get messages of voice starvation, but the sound is without stutters, so really it's working fine. In short this is the outcome of my experience with and without audio cable between the headset and the Android phone:

Cable + Unity audio = No Voice Starvation messages, No Stutters

Bluetooth wireless + Unity audio = Voice Starvation messages, No Stutters

Cable + Wwise audio = No Voice Starvation messages, No Stutters

Bluetooth wireless + Wwise audio = Voice Starvation messages + Stutters

I have a log snippet of the voice starvation messages in Wwise here: https://dl.dropboxusercontent.com/u/9959158/AWE/Wwise-Profiler-Log-BluetoothHeadsetVoiceStarvationIssue.prof

 

On this page https://www.audiokinetic.com/library/2015.1_5418/?source=Help&id=setting_output_buffer_latency you can set the buffer latency for Wwise authoring tool itself. 

Is it possible to adjust something similar like this for the various devices Wwise eventually will be deployed to? I want to be able to use a BT device without Wwise + Unity creating voice starvations.

In Unity I have tried setting DSP Buffer Size in AudioManager to Default, Best Latency and Best Performance without better results. I tried changing sample rate lower without better results. I use Vorbis format but tried packing the soundbank with Wav PCM files instead in Wwise to no succes either. I even tried removing all Wwise audio sources in Unity, started profiling the app, and it still gives me voice starvations despite no audio is playing! The Audio CPU usage has never been over 8%, and usually hovers around 3-5%, with about 0.8% without any audio sources.

All in all it seems like Wwise doesn't like bluetooth wireless connections? Can someone please help me figuring out what's wrong with this?

 

General Discussion Egil S. (1.1k 포인트) 로 부터
수정 Egil S. 로 부터
Still very much looking for an answer!
There's clearly still voice starvation going on if I change Wwise from Profile to Release, so it isn't due to profiling. Anyone?
Unfortunately, there is not much that can be done.  The only solution is adding more latency buffers to avoid the glitches (change AkPlatformInitSettings.uNumRefillBuffers to 5 or 6).  This is a common problem on Android and iOS with bluetooth, altough some hardware models are more affected than others.  Bluetooth is not a protocol made for interactivity, it was made for streaming low-bandwidth data (compressed voice band-limited at 8khz).   You can read the bug reports at Google:
https://code.google.com/p/android/issues/detail?id=31556
https://code.google.com/p/android/issues/detail?id=58265
https://code.google.com/p/android/issues/detail?id=187917

Sorry to say, but there is no solution.
Great answer which led me to solving the issue. I did not find any uNumRefillBuffers, but I changed uNumRefillsInVoice = 5 which worked!! Woohoo :)
I guess this will increase latency a bit, but that's a compromise I'm willing to accept.

Thanks again for responding :)

Please sign-in or register to answer this question.

...