Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by lajos · Apr 23, 2011 at 03:58 AM · androidaudiodelay

android audio delayed

I get an about 0.5 second delay when I play an audio clip using AudioSource.Play() on android. These are short sound effects, so there should be no delay. The audio source is at the same position as the listener (although I tried moving it to a different location, same issue).

I tried native (wav) and compressed (mpeg) audio formats, 3d and 2d sound and all load type settings, but I can't get rid of the delay.

I also tried 44.1khz and 48khz sample rates, nothing helps.

There is no delay when playing the game in unity on the pc.

This happens on all my devices (Droid2 and Nook Color).

Does anyone know how to get rid of the delay?

Comment
Add comment · Show 8
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Jessy · Apr 23, 2011 at 04:23 AM 0
Share

Is there a "DSP Buffer Size" setting for Android like there is for iOS, in the Audio $$anonymous$$anager?

avatar image lajos · Apr 23, 2011 at 01:24 PM 0
Share

Thanks for the suggestion. Tried the audio manager ios dsp setting, but they do nothing. All settings result in the same delay.

avatar image Sren Christiansen · May 03, 2011 at 12:04 PM 0
Share

This is a known issue. And fixed for the upco$$anonymous$$g release.

avatar image lajos Sren Christiansen · May 04, 2011 at 02:24 PM 0
Share

Thanks for the info! When can we expect the release that fixes it?

avatar image J3-Gaming Sren Christiansen · Aug 16, 2011 at 06:49 AM 0
Share

Still happens in Unity 3.4(Pro)

avatar image ackro · Aug 10, 2014 at 05:08 PM 0
Share

this latency still present in unity 4.5.2f1 pro version on LG G2 with android 4.4.2 but on nexus 5 and samsung galaxy s3 works well.

avatar image fadden · Apr 15, 2015 at 04:31 PM 0
Share

Still present in 5.0 (not noticeably improved with "best latency" setting). There are various demonstrations of lag-free audio involving an Android plugin that goes direct to SoundPool ins$$anonymous$$d of using the Unity audio system.

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Sren Christiansen · Aug 16, 2011 at 12:51 PM

Use Edit->Project Settings->Audio->DSPBuffer Size Set to "Best latency"

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image arafa108 · Jun 15, 2011 at 09:56 AM 0
Share

HI!

Is there any progress with this issue?

avatar image $$anonymous$$ · Sep 11, 2014 at 06:53 PM 0
Share

doesn't work.

avatar image Zach28 $$anonymous$$ · Jun 19, 2016 at 04:42 AM 0
Share

Have you fixed it? Please help :( been trying to fix this for days :(

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

!RIDICULOUS! Audio Latency - Android 3 Answers

Android audio delayed on some android devices 1 Answer

iOS - Audio Lag? 1 Answer

Delay at scene startup 1 Answer

Is sound in background/screen off possible yet (Unity 5)? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges