Forums

OverviewV-Play 2 Support (Qt 5) › Poor SoundEffectVPlay performance

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8970

    Caeser

    I can’t seem to get some sound effects to play, such as those that occur frequently, like firing a gun. Sometimes the sound goes mute for over 5 seconds before it plays again. Is there a work around for this?

    #8971

    Alex
    V-Play Team

    Hi,

    there is a bug in Qt’s SoundEffect Item that we are using internally, we hope it get’s fixed with the next Qt version. Meanwhile please try the workaround I suggested in my last post at this thread.

    Cheers,
    Alex

    #8982

    Caeser

    Thank you Alex!

     

    However, I’m still using the SoundEffect element. I did notice that most of these errors were caused by:

    – firing a sound twice at the same exact time. for example, if the play() function is called from two different elements at the same time.

    – having an audio file less than 1 second long.

    Editing some of my sounds (using Audacity) to 1 second or over, and assigning different sound elements for individual callers solved many of my sound problems.

    I’m not sure if this will work for anyone else but it’s work a mention.

Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support