Skip to content

Commit

Permalink
LibMedia+everywhere: Remove superfluous and unused audio code
Browse files Browse the repository at this point in the history
We had numerous NiH-based implementations of audio formats and metadata
that we now no longer need because we either don't make use of the code,
or we replaced its implementation by FFmpeg.
  • Loading branch information
gmta committed Sep 30, 2024
1 parent 2dcba1d commit e7b35ab
Show file tree
Hide file tree
Showing 36 changed files with 11 additions and 6,446 deletions.
3 changes: 0 additions & 3 deletions Tests/LibMedia/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ foreach(source IN LISTS TEST_SOURCES)
lagom_test("${source}" LibMedia LIBS LibMedia LibFileSystem WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}")
endforeach()

# The FLAC tests need a special working directory to find the test files
lagom_test(TestFLACSpec.cpp LIBS LibMedia WORKING_DIRECTORY "${FLAC_TEST_PATH}/..")

if (HAVE_PULSEAUDIO)
target_compile_definitions(TestPlaybackStream PRIVATE HAVE_PULSEAUDIO=1)
endif()
58 changes: 0 additions & 58 deletions Tests/LibMedia/TestFLACSpec.cpp

This file was deleted.

2 changes: 1 addition & 1 deletion Tests/LibMedia/TestWav.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

#include <AK/ByteString.h>
#include <LibMedia/Audio/WavLoader.h>
#include <LibMedia/Audio/Loader.h>
#include <LibTest/TestCase.h>

static void run_test(StringView file_name, int const num_samples, int const channels, u32 const rate)
Expand Down
Loading

0 comments on commit e7b35ab

Please sign in to comment.