Skip to content

Commit 5d4fcf7

Browse files
committed
Super-hacky cdio-paranoira CDDA implementation
This currently: - Almost certainly breaks the MP3 implementation - Hangs every so often while reading a sector. That really should live in another thread. - Only supports one drive. - Probably breaks on anything more complex than testcdrom - Doesn't handle the 'stop track/frame' feature. - Spews debug info everywhere - Should initialise the CD on open, not system initialisation. - Hardcodes a bunch of things, and can't be disabled. But, testcdrom does, on the whole, work.
1 parent 6f0f603 commit 5d4fcf7

File tree

2 files changed

+290
-137
lines changed

2 files changed

+290
-137
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ endif()
7878
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS}")
7979
string(STRIP "${CMAKE_C_FLAGS}" CMAKE_C_FLAGS)
8080

81+
target_link_libraries(SDL PRIVATE cdio cdio_cdda cdio_paranoia)
82+
8183
if(UNIX AND NOT APPLE)
8284
set_target_properties(SDL PROPERTIES COMPILE_DEFINITIONS "_REENTRANT")
8385
target_link_libraries(SDL PRIVATE ${CMAKE_DL_LIBS})

0 commit comments

Comments
 (0)