9 Commits
Author SHA1 Message Date
McSchneidarandFlorian Ostertag 4ee6689ff4 Seamless audio loops and own credits music (#945)
Loops
- Looping is now done by the playback backends instead of restarting
  the stream with Stop/Play. Loop can be toggled at runtime (SetLoop in
  ISound/IPlayback/IAudioStream), so the repeat button keeps working.
- GStreamer: gapless loops via playbin's about-to-finish signal.
- PortAudio/OpenAL: the decoder is reopened at the end of the file
  (Acinerella's seek does not reset FFmpeg after EOF) while the buffered
  data keeps playing, so the loop has no gap. The reported position wraps
  correctly.

Credits screen
- New event music player in CBackgroundMusic that replaces the current
  background music and resumes it afterwards.
- The credits screen loops Sounds/CreditsMusic.mp3
  ("Atmosphere Calm Background" by lvymusic, Pixabay Content License).
- As the credits screen was touched anyway, its content was updated as
  well.

Fixes for PortAudio/OpenAL playback found on the way
- Acinerella delivers 32 bit float samples for mp3, so every file was
  rejected with "Unsupported BitDepth". Float samples are converted to
  16 bit now.
- Acinerella reports a missing frame (EAGAIN) like the end of the file,
  so decoding is retried a few times before treating it as the end.
- OpenAL stopped after half a second because the decoder thread was
  never woken up to refill its buffer. A source that ran out of data is
  restarted as well.

Part of #677

Co-authored-by: Florian Ostertag <flokuep@users.noreply.github.com>
2026-10-27 09:43:02 +01:00
Edi316 320082414a Warning Sound Effect (#837)
* Better Highscore and ProgressBar Sound Effect

* Add Warning Sound Effect

* Add Warning Sound Effect

* Add Warning Sound Effect

* Add Warning Sound, Update Highscore & Elevating Sound

* Add Warning Sound Effect

* Add Warning Sound Effect

* Add Warning Sound Effect

* Add Warning Sound Effect

* Add Warning Sound Effect

* Add Warning Sound Effect

* Add Warning Sound Effect

* Add Warning Sound Effect

* Add Warning Sound Effect

* Add Warning Sound Effect

* Add Warning Sound Effect

* Add Warning Sound Effect

* Add Warning Sound Effect

* Add Warning Sound Effect

* Add Warning Sound Effect

* Add Warning Sound Effect

* Add Warning Sound Effect

* Renamed  _HasPlayedSound  to  _HasPlayedHighscoreSound  for clarity.

* Add Warning Sound Effect

* Add Warning Sound Effect

* Add Warning Sound Effect

* Add Warning Sound Effect

* Add Warning Sound Effect
2026-03-08 12:40:42 +01:00
Edi316andFlorian Ostertag f6e56f70b9 Elevating sound for Progress Bar on Score screen (#772)
* Speed Fix

* Add Elevating Sound

* Add Elevating Sound

* Add Elevating Sound

* Add Elevating Sound

* Add Elevating Sound

* Add Elevating Sound

* Add Elevating Sound

* Update Applause Sound

* Update Applause Sound

* Update Applause Sound

* Update Applause Sound

* Add Elevating Sound

* Add Elevating Sound

* Add Elevating Sound

* Speed Fix

* Add Elevating Sound

---------

Co-authored-by: Florian Ostertag <flokuep@users.noreply.github.com>
2025-04-21 07:54:29 +02:00
GRaff844 9d8e20ef46 Applause & Highscore Sound (#727)
* Add Rating & Applause Sounds

* Add Rating & Applause Sounds

* Add Rating & Applause Sounds

* Add Highscore Sound

* Add Highscore Sound

* Add Highscore Sound

* Add Highscore Sound

* Add Highscore Sound

* Delete Soundfile for better version

* Add Rating & Applause Sounds

* Add Rating & Applause Sounds

* Add Highscore Sound

* Add Highscore Sound

* Add Highscore Sound

* Add Highscore Sound

* Add Highscore Sound

* Add Rating & Applause Sounds

* Add Highscore Sound

* Add Highscore Sound

* Remove Rating Bar Sound (not working reliable)

* Remove Rating Bar Sound (not working reliable)

* Remove Rating Bar Sound (not working reliable)

* Remove Rating Bar Sound (not working reliable)

* Remove Rating Bar Sound (not working reliable)

* Update CScreenHighscore.cs

* Update CScreenScore.cs

* Update CScreenScore.cs

* Update CScreenHighscore.cs

* Update CScreenHighscore.cs

* Update CScreenScore.cs

* Update CScreenScore.cs

* Update Sounds

* Update Sounds

* Update Sounds

* Update Sounds

* Update Sounds

* Update CScreenScore.cs

* Update CScreenHighscore.cs

* Update CScreenHighscore.cs
2024-11-18 11:45:42 +01:00
Alexander Eckart 37c0c43823 2. fix III 2012-12-10 19:31:56 +01:00
Alexander Eckart e88378e39f 2. fix I 2012-12-10 19:27:48 +01:00
Alexander Eckart 76f024c3d8 folder fix II: renaming back to Output 2012-12-10 19:22:31 +01:00
Alexander Eckart 1a20af918f folder fix I: renaming to a dummy folder an add the missing files 2012-12-10 19:21:45 +01:00
Alexander Eckart 2561927a9d added covers and theme files 2012-02-19 15:24:40 +01:00