1
Audio / Failed to open audio device (AL_INVALID_OPERATION)
« on: November 02, 2020, 10:03:57 am »
When trying to load a sound from file it successfully loads then spams the output with
This is the simple test code I'm running
int main() {
sf::SoundBuffer test { };
if (test.loadFromFile("explosion.ogg")) {
sf::Sound test_sound { test };
test_sound.play();
}
}
Also note I'm running on Ubuntu 20.04.1 LTS using pulseaudio
I uninstalled pulseaudio and reinstalled it but the issue continues.
This problem doesnt occur when this is built out on windows so I'm not entirely sure what the issue is.
(click to show/hide)
This is the simple test code I'm running
int main() {
sf::SoundBuffer test { };
if (test.loadFromFile("explosion.ogg")) {
sf::Sound test_sound { test };
test_sound.play();
}
}
Also note I'm running on Ubuntu 20.04.1 LTS using pulseaudio
I uninstalled pulseaudio and reinstalled it but the issue continues.
This problem doesnt occur when this is built out on windows so I'm not entirely sure what the issue is.