-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Merge branch 'feature/ffmpeg' into etternalmemestatus"
- Loading branch information
1 parent
f5e8481
commit 3c7063a
Showing
300 changed files
with
89,227 additions
and
118,543 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
find_path(LIBMAD_INCLUDE_DIR mad.h) | ||
|
||
find_library(LIBMAD_LIBRARY mad) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(LIBMAD DEFAULT_MSG LIBMAD_LIBRARY LIBMAD_INCLUDE_DIR) | ||
|
||
mark_as_advanced(LIBMAD_LIBRARY LIBMAD_INCLUDE_DIR) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>English</string> | ||
<key>CFBundleExecutable</key> | ||
<string>mad</string> | ||
<key>CFBundleGetInfoString</key> | ||
<string></string> | ||
<key>CFBundleIdentifier</key> | ||
<string>mad</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundlePackageType</key> | ||
<string>FMWK</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string></string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleVersion</key> | ||
<string>0.15.1b</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
set(MAD_DIR "${SM_EXTERN_DIR}/mad-0.15.1b") | ||
|
||
list(APPEND MAD_SRC | ||
"${MAD_DIR}/bit.c" | ||
"${MAD_DIR}/decoder.c" | ||
"${MAD_DIR}/fixed.c" | ||
"${MAD_DIR}/frame.c" | ||
"${MAD_DIR}/huffman.c" | ||
"${MAD_DIR}/layer12.c" | ||
"${MAD_DIR}/layer3.c" | ||
"${MAD_DIR}/stream.c" | ||
"${MAD_DIR}/synth.c" | ||
"${MAD_DIR}/timer.c" | ||
"${MAD_DIR}/version.c" | ||
) | ||
|
||
list(APPEND MAD_HPP | ||
"${MAD_DIR}/bit.h" | ||
"${MAD_DIR}/config.h" | ||
"${MAD_DIR}/decoder.h" | ||
"${MAD_DIR}/fixed.h" | ||
"${MAD_DIR}/frame.h" | ||
"${MAD_DIR}/global.h" | ||
"${MAD_DIR}/huffman.h" | ||
"${MAD_DIR}/layer12.h" | ||
"${MAD_DIR}/layer3.h" | ||
"${MAD_DIR}/mad.h" | ||
"${MAD_DIR}/stream.h" | ||
"${MAD_DIR}/synth.h" | ||
"${MAD_DIR}/timer.h" | ||
"${MAD_DIR}/version.h" | ||
) | ||
|
||
list(APPEND MAD_DAT | ||
"${MAD_DIR}/D.dat" | ||
"${MAD_DIR}/imdct_s.dat" | ||
"${MAD_DIR}/qc_table.dat" | ||
"${MAD_DIR}/rq_table.dat" | ||
"${MAD_DIR}/sf_table.dat" | ||
) | ||
|
||
source_group("Source Files" FILES ${MAD_SRC}) | ||
source_group("Header Files" FILES ${MAD_HPP}) | ||
source_group("Data Files" FILES ${MAD_DAT}) | ||
|
||
add_library("mad" STATIC ${MAD_SRC} ${MAD_HPP} ${MAD_DAT}) | ||
|
||
set_property(TARGET "mad" PROPERTY FOLDER "External Libraries") | ||
|
||
disable_project_warnings("mad") | ||
|
||
if(ENDIAN_BIG) | ||
set(WORDS_BIGENDIAN 1) | ||
endif() | ||
|
||
sm_add_compile_definition("mad" $<$<CONFIG:Debug>:DEBUG>) | ||
sm_add_compile_definition("mad" HAVE_CONFIG_H) | ||
|
||
if(MSVC) | ||
sm_add_compile_definition("mad" _CRT_SECURE_NO_WARNINGS) | ||
# TODO: Remove the need for this check since it's tied to 32-bit builds from first glance. | ||
sm_add_compile_definition("mad" ASO_ZEROCHECK) | ||
sm_add_compile_definition("mad" $<$<CONFIG:Debug>:FPM_DEFAULT>) | ||
sm_add_compile_definition("mad" $<$<CONFIG:Release>:FPM_INTEL>) | ||
sm_add_compile_definition("mad" $<$<CONFIG:MinSizeRel>:FPM_INTEL>) | ||
sm_add_compile_definition("mad" $<$<CONFIG:RelWithDebInfo>:FPM_INTEL>) | ||
# TODO: Provide a proper define for inline. | ||
sm_add_compile_definition("mad" inline=__inline) | ||
elseif(APPLE) | ||
sm_add_compile_definition("mad" FPM_64BIT=1) | ||
endif(MSVC) | ||
|
||
target_include_directories("mad" PUBLIC "${MAD_DIR}") | ||
|
||
configure_file("${SM_EXTERN_DIR}/config.mad.in.h" "${MAD_DIR}/config.h") |
Oops, something went wrong.