serenity/Tests/LibAudio
Zaggy1024 50c73d02f0 LibAudio: Add a test for creating and destructing a PlaybackStream
This will ensure that we don't leak any memory while playing back
audio.

There is an expectation value in the test that is only set to true when
PulseAudio is present for the moment. When any new implementation is
added for other libraries/platforms, we should hopefully get a CI
failure due to unexpected success in creating the `PlaybackStream`.

To ensure that we clean up our PulseAudio connection whenever audio
output is not needed, add `PulseAudioContext::weak_instance()` to allow
us to check whether an instance exists without creating one.
2023-08-07 10:40:34 -06:00
..
CMakeLists.txt LibAudio: Add a test for creating and destructing a PlaybackStream 2023-08-07 10:40:34 -06:00
TestFLACSpec.cpp LibAudio: Extract loader stream creation from the plugins 2023-06-27 15:28:22 +01:00
TestPlaybackStream.cpp LibAudio: Add a test for creating and destructing a PlaybackStream 2023-08-07 10:40:34 -06:00