-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove PulseAudioPlayer
#311
Labels
deprecation proposal
This feature should be deprecated from the API
Comments
PulseAudioPlayer
PulseAudioPlayer
Seems good to me. I think marking it as deprecated in the next release, and removing it in the next major release makes sense here. |
Builds and works well for me after removing pulseaudio manually. |
Kenix3
added a commit
that referenced
this issue
Oct 9, 2023
Implemented in |
briaguya-ai
pushed a commit
to briaguya-ai/libultraship
that referenced
this issue
Nov 7, 2023
… end. (Kenix3#356) * Removes Pulse Audio. Config values will be migrated to sdl audio backend. Kenix3#311 * Removes PulseAudio.h from classes.h
Kenix3
added a commit
that referenced
this issue
Feb 8, 2024
* Removes Pulse Audio. Config values will be migrated to sdl audio backend. #311 * Removes PulseAudio.h from classes.h * Refactors archives to have a separate manager class. * Run clang-format * Includes string in ResourceType.h * Only include tchar.h in Context.cpp when building for Windows. * Includes vector in ArchiveManager.h * fix: put `SDL_WndProc` behind `_WIN32` ifdef (#423) * Fix issues with Archive refactor (#424) * get in game * clang format * windows build * pr comments * return false * uncomment * fix fonts * pr comment * init dadon't * raw * Fixes issue where ArchiveManager never unloads Archives. * Fixes builds for StormLib issues. (#425) * this is a stupid hack but i'm too tired to keep trying to figure out how we're linking everything * link? * ports... * windows? --------- Co-authored-by: briaguya <70942617+briaguya-ai@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SDL provides a great abstraction layer for audio. https://github.com/Kenix3/libultraship/blob/main/src/audio/SDLAudioPlayer.cpp accomplishes in 44 lines what takes https://github.com/Kenix3/libultraship/blob/main/src/audio/PulseAudioPlayer.cpp 191.
SDL supports many different audio drivers https://wiki.libsdl.org/SDL2/FAQUsingSDL#linux_1 (including pulseaudio)
I propose we remove
PulseAudioPlayer
and rely on SDL audio for linux instead.The text was updated successfully, but these errors were encountered: