Bug #977

Sound location restart with OpenAL enable

Added by Aranud over 2 years ago. Updated about 1 year ago.

Status:Confirmed% Done:

0%

Priority:Normal
Assignee:-
Category:Client
Target version:2.78
OS: Arch:

Description

By example, When playing on chicken bucket map ((I like this map !)), there are issue with music when OpenAL is enable (but not with SDL2).

Jukebox music restarts sometimes to often from beginning when you do a movement anywhere you are.

It is reproducible with 2.75.


Related issues

Related to ET: Legacy Development - Bug #358: Fix OpenAL background track & issues Fixed 03.10.2013
Related to ET: Legacy Development - Task #1213: Use OpenAL as default sound engine Fixed 01.03.2019

Associated revisions

Revision 0920ec28
Added by IR4T4 about 2 years ago

client: fix interrupting looping sounds for OpenAL

History

#1 Updated by Spyhawk over 2 years ago

  • Category set to Client
  • Target version set to 2.76

#2 Updated by Spyhawk about 2 years ago

  • Status changed from New to Confirmed

#3 Updated by Spyhawk about 2 years ago

It seems there are two bugs here:

With OpenAL:
  • the jukebox music gets restarted every time the music is changed, instead of continuing where the track previously stopped
  • the track seems restarted when the player change vertical position (going up or down right after respawn). This doesn’t seem to happen with the end of game music though.

I tried installing the latest openAL snapshot, but the issue is the same.

Edit: it seems this is a leftover of #358: track is reset when player changes position in the vertical plan.

#4 Updated by Spyhawk about 2 years ago

  • Related to Bug #358: Fix OpenAL background track & issues added

#5 Updated by IR4T4 over 1 year ago

Spyhawk wrote:

Edit: it seems this is a leftover of #358: track is reset when player changes position in the vertical plan.

There are two functions which need some rework: S_AL_HearingThroughEntity is a hack and S_AL_GetCurrentSoundTime isn’t implemented for real.

#6 Updated by IR4T4 about 1 year ago

  • Target version changed from 2.76 to 2.78

#7 Updated by Spyhawk about 1 month ago

  • Related to Task #1213: Use OpenAL as default sound engine added

Also available in: Atom PDF