mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-25 12:30:15 +00:00
a8d0c51c69
* DSP: Implement Pipe 2 Pipe 2 is a DSP pipe that is used to initialize both the DSP hardware (the application signals to the DSP to initialize) and the application (the DSP provides the memory location of structures in the shared memory region). * AudioCore: Implement codecs (DecodeADPCM, DecodePCM8, DecodePCM16) * DSP Pipes: Implement as FIFO * AudioCore: File structure * AudioCore: More structure * AudioCore: Buffer management * DSP/Source: Reorganise Source's AdvanceFrame. * Audio Output * lolidk * huh? * interp * More interp stuff * oops * Zero State * Don't mix Source frame if it's not enabled * DSP: Forgot to zero a buffer, adjusted thread synchronisation, adjusted format spec for buffers * asdf * Get it to compile and tweak stretching a bit. * revert stretch test * deleted accidental partial catch submodule commit * new audio stretching algorithm * update .gitmodule * fix OS X build * remove getopt from rubberband * #include <stddef> to audio_core.h * typo * -framework Accelerate * OptionTransientsSmooth -> OptionTransientsCrisp * tweak stretch tempo smoothing coefficient. also switch back to smooth. * tweak mroe * remove printf * sola * #include <cmath> * VERY QUICK MERGE TO GET IT WORKING DOESN'T ACTIVATE AUDIO FILTERS * Reminder to self * fix comparison * common/thread: Correct code style * Thread: Make Barrier reusable * fix threading synchonisation code * add profiling code * print error to console when audio clips * fix metallic sound * reduce logspam
80 lines
3.5 KiB
CMake
80 lines
3.5 KiB
CMake
set(SRCS
|
|
rubberband/src/audiocurves/CompoundAudioCurve.cpp
|
|
rubberband/src/audiocurves/ConstantAudioCurve.cpp
|
|
rubberband/src/audiocurves/HighFrequencyAudioCurve.cpp
|
|
rubberband/src/audiocurves/PercussiveAudioCurve.cpp
|
|
rubberband/src/audiocurves/SilentAudioCurve.cpp
|
|
rubberband/src/audiocurves/SpectralDifferenceAudioCurve.cpp
|
|
rubberband/src/base/Profiler.cpp
|
|
rubberband/src/dsp/AudioCurveCalculator.cpp
|
|
rubberband/src/dsp/FFT.cpp
|
|
rubberband/src/dsp/Resampler.cpp
|
|
rubberband/src/kissfft/kiss_fft.c
|
|
rubberband/src/kissfft/kiss_fftr.c
|
|
rubberband/src/RubberBandStretcher.cpp
|
|
rubberband/src/speex/resample.c
|
|
rubberband/src/StretchCalculator.cpp
|
|
rubberband/src/StretcherChannelData.cpp
|
|
rubberband/src/StretcherImpl.cpp
|
|
rubberband/src/StretcherProcess.cpp
|
|
rubberband/src/system/Allocators.cpp
|
|
rubberband/src/system/sysutils.cpp
|
|
rubberband/src/system/Thread.cpp
|
|
rubberband/src/system/VectorOpsComplex.cpp
|
|
)
|
|
|
|
SET(HEADERS
|
|
rubberband/src/audiocurves/CompoundAudioCurve.h
|
|
rubberband/src/audiocurves/ConstantAudioCurve.h
|
|
rubberband/src/audiocurves/HighFrequencyAudioCurve.h
|
|
rubberband/src/audiocurves/PercussiveAudioCurve.h
|
|
rubberband/src/audiocurves/SilentAudioCurve.h
|
|
rubberband/src/audiocurves/SpectralDifferenceAudioCurve.h
|
|
rubberband/src/base/Profiler.h
|
|
rubberband/src/base/RingBuffer.h
|
|
rubberband/src/base/Scavenger.h
|
|
rubberband/src/dsp/AudioCurveCalculator.h
|
|
rubberband/src/dsp/FFT.h
|
|
rubberband/src/dsp/MovingMedian.h
|
|
rubberband/src/dsp/Resampler.h
|
|
rubberband/src/dsp/SampleFilter.h
|
|
rubberband/src/dsp/SincWindow.h
|
|
rubberband/src/dsp/Window.h
|
|
rubberband/src/float_cast/float_cast.h
|
|
rubberband/src/kissfft/kiss_fft.h
|
|
rubberband/src/kissfft/kiss_fftr.h
|
|
rubberband/src/kissfft/_kiss_fft_guts.h
|
|
rubberband/src/pommier/neon_mathfun.h
|
|
rubberband/src/pommier/sse_mathfun.h
|
|
rubberband/src/speex/speex_resampler.h
|
|
rubberband/src/StretchCalculator.h
|
|
rubberband/src/StretcherChannelData.h
|
|
rubberband/src/StretcherImpl.h
|
|
rubberband/src/system/Allocators.h
|
|
rubberband/src/system/sysutils.h
|
|
rubberband/src/system/Thread.h
|
|
rubberband/src/system/VectorOps.h
|
|
rubberband/src/system/VectorOpsComplex.h
|
|
rubberband/rubberband/rubberband-c.h
|
|
rubberband/rubberband/RubberBandStretcher.h
|
|
)
|
|
|
|
add_library(rubberband STATIC ${SRCS} ${HEADERS})
|
|
|
|
target_include_directories(rubberband PRIVATE rubberband/src)
|
|
target_include_directories(rubberband PRIVATE rubberband)
|
|
|
|
set_property(TARGET rubberband APPEND PROPERTY COMPILE_DEFINITIONS USE_SPEEX)
|
|
if(APPLE)
|
|
set_property(TARGET rubberband APPEND PROPERTY COMPILE_DEFINITIONS HAVE_VDSP)
|
|
set_property(TARGET rubberband APPEND PROPERTY COMPILE_DEFINITIONS USE_PTHREADS)
|
|
target_link_libraries(rubberband "-framework Accelerate")
|
|
elseif(MSVC)
|
|
set_property(TARGET rubberband APPEND PROPERTY COMPILE_DEFINITIONS USE_KISSFFT)
|
|
set_property(TARGET rubberband APPEND PROPERTY COMPILE_DEFINITIONS __MSVC__)
|
|
set_property(TARGET rubberband APPEND PROPERTY COMPILE_DEFINITIONS WIN32)
|
|
else()
|
|
set_property(TARGET rubberband APPEND PROPERTY COMPILE_DEFINITIONS USE_KISSFFT)
|
|
set_property(TARGET rubberband APPEND PROPERTY COMPILE_DEFINITIONS USE_PTHREADS)
|
|
endif()
|