Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adsp.template testing and development #1

Open
wants to merge 182 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
182 commits
Select commit Hold shift + click to select a range
815d750
Initial commit
AchimTuran Nov 17, 2015
7d43e7a
Update to latest development of adsp.template
AchimTuran Nov 17, 2015
18c9ebc
[project] Readme rework with Github markdown
AchimTuran Nov 17, 2015
1703783
[CMake] Adpapt CMakeLists.txt to latest adsp.template version
AchimTuran Nov 17, 2015
0197e0e
[Project] Remove old depends structure
AchimTuran Nov 17, 2015
f8272fe
Fix compiler errors and replace tabs with spaces
AchimTuran Mar 1, 2016
6422dc8
[Project] Add build instructions and CI build badges to README.md
AchimTuran Mar 8, 2016
721af7a
Remove unused AudioDSPSettings class
AchimTuran Mar 8, 2016
e5963b5
[KodiThreads] Initial commit of extracted thread classes from Kodi's …
AchimTuran Mar 8, 2016
6d2e4fd
[CI] Initial commit of Travis CI and AppVeyor build scripts
AchimTuran Mar 8, 2016
b9e5a41
[Addon][MessageSystem] Initial commit of extracted ActorProtocol clas…
AchimTuran Mar 8, 2016
8c3f62f
[AudioDSP][FactoryADSPModes] Initial commit of AudioDSP Mode Factory
AchimTuran Mar 8, 2016
f27d59d
[AudioDSP][Streams] Initial commit of AudioDSP stream handling classes
AchimTuran Mar 8, 2016
5416758
[Addon] Initial commit of Pre-Process Copy Mode
AchimTuran Mar 8, 2016
0bbd02d
[CMake] Update CMakeLists.txt with source groups for Visual Studio an…
AchimTuran Mar 8, 2016
6b42476
[template][AddonMain] Remove old AddonHandler class
AchimTuran Mar 8, 2016
fb4935f
[string.po] Update strings
AchimTuran Mar 8, 2016
b32aa59
[AudioDSP][Streams] Improve stream construction
AchimTuran Mar 8, 2016
fcb28fa
[AudioDSP][Streams] Add stream processing, creation and initializatio…
AchimTuran Mar 9, 2016
9f3435d
[PreProcessCpy] Adapt mode to new interface
AchimTuran Mar 9, 2016
11ecd65
[AudioDSP][Streams] Add is mode support functionality
AchimTuran Mar 9, 2016
385181c
[PreProcessCpy] Disable settings dialog as long as there is none impl…
AchimTuran Mar 9, 2016
c4ebb33
[PreProcessCpy] Add channel mapping functionality
AchimTuran Mar 9, 2016
813cc1b
[PostProcessCpy] Initial commit of postprocessing mode
AchimTuran Mar 9, 2016
9228004
[Addon] Better strings
AchimTuran Mar 9, 2016
ce5a475
Better logging messages
AchimTuran Mar 9, 2016
5a8b51b
[PreProcessCpy] Code cosmetics
AchimTuran Mar 9, 2016
1445aec
[Addon] Improve configuration
AchimTuran Mar 9, 2016
1c1b462
[AudioDSP][Streams] Add mode destroy functionality
AchimTuran Mar 9, 2016
73ebeee
Remove return value from ModeDestroy(...) method
AchimTuran Mar 9, 2016
54eeb46
[AudioDSP][FactoryADSPModes] Only copy and reinitialize processing mo…
AchimTuran Mar 9, 2016
847f7a9
Delete StreamManager during addon destroy
AchimTuran Mar 9, 2016
afe97fc
[InputResampleCpy] Initial commit of InputResampleCpy mode
AchimTuran Mar 9, 2016
7c2716f
[PostProcessCpy] Fixed class name
AchimTuran Mar 9, 2016
23bd07e
[AudioDSP][Streams] Changed CADSPStreamManager API to static methods
AchimTuran Mar 9, 2016
b17a958
[Addon] Change version number
AchimTuran Mar 10, 2016
0d06e6b
[template] Add CADSPHelpers::Translate_ADSPModeType_TO_MenuHook(...)
AchimTuran Mar 10, 2016
e5db15d
[AudioDSP][FactoryADSPModes] Change to generic TCreationStatistics te…
AchimTuran Mar 10, 2016
7d1a7fa
Add missing GPL headers
AchimTuran Mar 10, 2016
92f6709
[Addon][Process] Initial commit of AddonProcessManager
AchimTuran Mar 10, 2016
b933e31
[CpyModesProcess] Initial commit of CpyModesProcess
AchimTuran Mar 10, 2016
a092d0d
[CMake] Added CpyModesProcess
AchimTuran Mar 10, 2016
1330361
Improve logging messages
AchimTuran Mar 10, 2016
b02474a
[MessageSystem] Extend ActorProtocol with an abstract interface
AchimTuran Mar 15, 2016
8570fd3
[MVC] Initial commit of model interface
AchimTuran Mar 15, 2016
aec908c
[CpyModesProcess] Added PortPostProcessGainModel
AchimTuran Mar 15, 2016
1b5018e
[PostProcessGain] Initial commit of PostProcessGain mode with first p…
AchimTuran Mar 15, 2016
0ce3772
[MVC][Initial commit of TParameter template class
AchimTuran Mar 15, 2016
bd33c3b
[MVC][Interfaces] Initial commit of IParameter interface class
AchimTuran Mar 15, 2016
010f681
[PreProcessCpy] Class name change
AchimTuran Mar 15, 2016
079ce78
[CMake] Adapt CMakeLists.txt to latest developments
AchimTuran Mar 15, 2016
fdbf6a9
[CMake] Update to latest project structure
AchimTuran Mar 18, 2016
46743f7
delete file
AchimTuran Mar 18, 2016
9f31c77
[Addon][MVC][Model] Extend IParameter interface with GetDataPtr()
AchimTuran Mar 18, 2016
73fedd7
[Addon][MessageSystem] Extend Message with size and destiny members
AchimTuran Mar 18, 2016
e9426bd
[Addon][MessageSystem] Initial commit of MessageDispatcher and ISocke…
AchimTuran Mar 18, 2016
cdbfdbb
[Addon][MessageSystem]
AchimTuran Mar 19, 2016
eab1785
[CMake] Adapt to latest project developments
AchimTuran Mar 19, 2016
168b669
[PostProcessGain] Added main gain and message system support
AchimTuran Mar 19, 2016
19b9427
Added connect/disconnect message dispatcher functionality between mod…
AchimTuran Mar 19, 2016
036e1cd
[PostProcessGain] Improved model message dispatcher and added strings
AchimTuran Mar 19, 2016
7efe6d9
[MVC][Model] Fixed compiler warnings
AchimTuran Mar 19, 2016
d2a0e7b
[PostProcessGainDialog] Initial commit of Dialog and resources
AchimTuran Mar 21, 2016
1a6f977
[PostProcessGainDialog] Initial commit PostProcessGainModeDialog, Pos…
AchimTuran Mar 21, 2016
7e6dc9e
[template][AddonMain] Added CHelper_libKODI_audioengine
AchimTuran Mar 21, 2016
8ff4f03
[Addon][MVC] Initial commit of Kodi's ActionIDs
AchimTuran Mar 21, 2016
dffdc25
[CMake] Update CMakeLists.txt to latest source files
AchimTuran Mar 25, 2016
6538d1e
[PostGainProcessMode] Add audio engine to PostProcessGainModeDialog
AchimTuran Mar 25, 2016
f1b6f7c
[KodiThreads] Update to latest kodi threads implementation and adapte…
AchimTuran Jun 28, 2016
3405be2
p8-platform name change
AchimTuran Jun 28, 2016
6ad43e6
Add missing includes
AchimTuran Jun 28, 2016
ef4b67d
[cmake] Cleanup and p8-platform name change
AchimTuran Jun 28, 2016
2503bee
[cmake] KodiThreads cleanup
AchimTuran Jun 28, 2016
1be952c
Fix compiler errors
AchimTuran Jun 28, 2016
9ff9826
[cmake] Adapt linker dependencies for Linux (todo readd Windows support)
AchimTuran Jun 28, 2016
5a565c7
Fix Windows build
AchimTuran Jul 10, 2016
de2af05
Shift CPostProcessGainModeDialogSettings into CpyModesProcess and imp…
AchimTuran Jul 10, 2016
caf562d
[Project] Adapt license header to GPL V3
AchimTuran Jul 11, 2016
bcb00b1
Update to latest developments
AchimTuran Jul 11, 2016
0c9a5cf
[Gain Mode Dialog] Add strings for speaker channels, use settings slider
AchimTuran Jul 11, 2016
30f6c55
[dialog][GainMode] Latest changes for gain mode dialog
AchimTuran Jul 14, 2016
99a0a91
[Addon][MessageSystem][Sockets] Add new template to process class met…
AchimTuran Jul 17, 2016
80d6cb2
[Addon][MessageSystem][Sockets] Adapt Set(...) to return int instead …
AchimTuran Jul 17, 2016
f474a1e
[Addon][MessageSystem][Communication] Add SendMsg(...) to directly se…
AchimTuran Jul 17, 2016
09855fb
Add RequestMainGain signal ID to SocketGainModeIDs
AchimTuran Jul 17, 2016
96c62e6
[GainMode][Dialog] Add message system
AchimTuran Jul 17, 2016
4ac3b94
[GainMode][Model] Fix typo
AchimTuran Jul 17, 2016
b1e5f77
[GainMode][Model] Register RequestMainGain socket
AchimTuran Jul 17, 2016
d9b7728
[GainMode][Controller] Replace MainGain memcpy socket with class meth…
AchimTuran Jul 17, 2016
16db9b0
[GainMode][Model] Add RequestMainGain socket class method callback
AchimTuran Jul 17, 2016
9504f44
[MainGainModeEnvironment] Connect gain mode model and controller disp…
AchimTuran Jul 17, 2016
068b438
[CMake] Add latest needed files
AchimTuran Jul 17, 2016
a1f75c4
[Addon][MessageSystem][MessageDispatcher] Code cosmetics
AchimTuran Jul 17, 2016
713f046
Rename MainGain signal to UpdateMainGain
AchimTuran Jul 17, 2016
8b7ead9
Add controller- and view-ID-class
AchimTuran Jul 17, 2016
b3f895b
[cmake] Create independent static libraries of adsp.template and Kodi…
AchimTuran Aug 17, 2016
204fdf0
[KodiThreads] Added logger callbacks and fixed include directories
AchimTuran Aug 17, 2016
95e1153
[template] Added KodiThreads logger callbacks stubs
AchimTuran Aug 17, 2016
7df8fcc
[cmake] Adapt addon_source_group implementation from asplib helpers
AchimTuran Aug 17, 2016
4f112dd
[template][Addon][MessageSystem] Adapte KodiThreads include directories
AchimTuran Aug 17, 2016
c55f2ea
[template][utils] Move stdStringUtils into template directory
AchimTuran Aug 17, 2016
6c3b137
[template] Delete old source code
AchimTuran Aug 17, 2016
40bdca4
[template][AudioDSP] Prevent crashes in FactoryADSPModes
AchimTuran Aug 17, 2016
fe82d1a
[template][Addon] Prevent crashes in AddonProcessManager
AchimTuran Aug 17, 2016
1e1b3af
[Rename] Add-On rename from adsp.template to adsp.playground and move…
AchimTuran Aug 18, 2016
9a37908
[EnumStrIDs] Remove unused ID
AchimTuran Aug 21, 2016
8f47212
[temp][MVC] Add MVCObject class
AchimTuran Aug 21, 2016
ff043c2
[adsp.template][Addon][MessageSystem][MessageDispatcher] Add broadcas…
AchimTuran Aug 21, 2016
1357749
[adsp.template][client] Move include files upward
AchimTuran Aug 21, 2016
c13fd5f
[MVCObject] Derive from CMessageDispatcher
AchimTuran Aug 21, 2016
91d8594
[GainMode] Use MVCObject class
AchimTuran Aug 21, 2016
e89e31d
[adsp.template][Addon][MVC] Add Events to prevent crashes in CMessage…
AchimTuran Aug 21, 2016
0997b14
[adsp.template][Addon][Process] Add message dispatcher connection fun…
AchimTuran Aug 21, 2016
02327a4
[GainModeEnvironment] Cleanup
AchimTuran Aug 21, 2016
f67a131
[GainModeEnvironment] Added thread to process messages
AchimTuran Aug 22, 2016
2a7aefe
[KodiThreads] Added global logger ID variables
AchimTuran Aug 22, 2016
1cb6568
[Addon][MessageSystem][ActorProtocol] Added missing message size hand…
AchimTuran Aug 22, 2016
6303246
[Addon][MessageSystem][Message] Added initial values in constructor
AchimTuran Aug 22, 2016
c0f90b5
[GainMode] Use IView class for message processing
AchimTuran Aug 22, 2016
3c4d461
[Addon][MessageSystem][ActorProtocol] Set message size
AchimTuran Aug 22, 2016
6efab6d
[GainModeController] Check message size in SetMainGain(...)
AchimTuran Aug 22, 2016
c77560d
[Addon][MessageSystem][Sockets] Remove message size checking (TODO ad…
AchimTuran Aug 22, 2016
fc367ab
[Addon][Process] Connect objects to controller
AchimTuran Aug 22, 2016
84a6426
[GainMode] Added main gain callback and translated dB values to linea…
AchimTuran Aug 23, 2016
0090518
[GainMode] Set min and max gain to 90dB
AchimTuran Aug 23, 2016
b0e7f22
[GainMode][GainModeController] Use sizeof(float) in main gain callback
AchimTuran Aug 23, 2016
be50b42
[GainMode] Remove dispatcher connection handling, because it is done …
AchimTuran Aug 23, 2016
bdf7af6
[adsp.template] Added MVCObject connection handling
AchimTuran Aug 23, 2016
24ead76
[GainMode] Make private functions static
AchimTuran Sep 2, 2016
142660a
[adsp.template][MessageSystem][Sockets] Fix missing usage of Type in …
AchimTuran Sep 2, 2016
e0d2772
[adsp.template][MessageSystem][Communication] Append variable ID in c…
AchimTuran Sep 2, 2016
6008660
[CompressorMode] Initial commit (TODO: adapt adsp.basic dialog xml)
AchimTuran Sep 2, 2016
72f07a5
[adsp.template][AudioDSP][Streams] Remove warning in ADSPStreamManager
AchimTuran Sep 2, 2016
60240dc
[strings.po] Fix typo
AchimTuran Sep 2, 2016
83ea268
Fix identations in GainModeEnvironment
AchimTuran Sep 2, 2016
b6b3012
[CompressionMode] Enable message processing
AchimTuran Sep 3, 2016
0bdc7ac
[CompressorMode][Dialog] Adaptions for compressor settings
AchimTuran Sep 3, 2016
a77f6a8
[CompressorMode] Cast to void*
AchimTuran Sep 3, 2016
62316ad
[adsp.template] Fix identations
AchimTuran Sep 3, 2016
ad9edc1
[cmake] Add asplib dynamics to workspace
AchimTuran Sep 4, 2016
f25e211
[CompressorMode] Integrate asplib's compressor class
AchimTuran Sep 4, 2016
60eee67
[GainMode][CompressorMode] Fix strings
AchimTuran Sep 4, 2016
f9a9a9c
[README.md] Add notes for Windows to solve "too long filename" with Git
AchimTuran Sep 4, 2016
4f3acb2
[CompressionMode] Add gain curve strings
AchimTuran Sep 4, 2016
0550192
[CompressionMode][Dialog] Fix threshold string
AchimTuran Sep 4, 2016
5f7051d
[adsp.template][MessageSystem][MessageDispatcher] Some fixes, append …
AchimTuran Sep 6, 2016
e845a08
[IDs] Add RequestModelState signal to CompressorMode
AchimTuran Sep 6, 2016
2b93b89
[CompressorMode][Dialog] Only use positive times and remove unused code
AchimTuran Sep 6, 2016
f775b40
[CompressorMode][Model] Adapt to new IModel interface and remove priv…
AchimTuran Sep 6, 2016
c8d6bd5
[CompressorMode][Environment] Prepare for XML settings saving
AchimTuran Sep 6, 2016
401d4e5
[GainMode][Model] Adapt to new IModel interface
AchimTuran Sep 6, 2016
63f0038
[adsp.template][MVC][Model] Automatic message signal registration for…
AchimTuran Sep 6, 2016
5962f1d
[adsp.template][MessageSystem][MessageDispatcher] Fixes (TODO: check …
AchimTuran Sep 7, 2016
66d14a1
[adsp.template][MVC][Model] Added ordered parameter registration (TOD…
AchimTuran Sep 7, 2016
a27c488
[adsp.template][MessageSystem] MessageDispatcher process connected di…
AchimTuran Sep 7, 2016
df4615a
[CompressorMode][Controller] Added request model state signal
AchimTuran Sep 7, 2016
d0d2cc1
[CompressorMode][Controller] Added request model state signal
AchimTuran Sep 7, 2016
ba21cb0
[CompressorMode][Dialog] Added request model state signal
AchimTuran Sep 7, 2016
6dac721
[adsp.template][MessageSystem][Sockets] Allow message with no data in…
AchimTuran Sep 7, 2016
75a033c
[CompressorMode][Model] Set default values for attack- and release-time
AchimTuran Sep 7, 2016
ee484d1
[adsp.template][MVC][Model] fixes
AchimTuran Sep 7, 2016
23ce5b8
[Environments] Use 100ms to process messages
AchimTuran Sep 7, 2016
64932e2
[CompressorMode][Environment] Cleanup
AchimTuran Sep 7, 2016
d8b8bc3
[adsp.template][MessageSystem][Sockets] Initial commit of TSocketNoti…
AchimTuran Sep 8, 2016
885d81d
[cmake] Preperation for asplib's biquad filter usage
AchimTuran Sep 8, 2016
4dde994
[cmake][adsp.template] Add TSocketNotify and TSocketRangeCheck header…
AchimTuran Sep 8, 2016
eb0ad03
[CompressorMode] Shift range check of parameters into the socket inte…
AchimTuran Sep 8, 2016
1779c5c
[adsp.template][MessageSystem][Socket] Remane TSocketNotify to TSocke…
AchimTuran Sep 8, 2016
f95a150
[CompressorMode] Request model state during mode creation
AchimTuran Sep 8, 2016
5916b1d
[adsp.template][AudioDSP][Streams] Dispatcher connections should be h…
AchimTuran Sep 8, 2016
cfadb31
[Environment] Safe shutdown fixes
AchimTuran Sep 9, 2016
a712c62
[Environment] Simplify destroy and message dispatcher disconnecting
AchimTuran Sep 9, 2016
a4a5349
[adsp.template][Addon][Process] Safe message dispatcher disconnect
AchimTuran Sep 9, 2016
268e5d2
[CompressorMode][Dialog] Define default control and fix navigation
AchimTuran Sep 9, 2016
2f877ee
[CompressorMode] Common parameter ranges
AchimTuran Sep 9, 2016
f9b90bc
[CompressorMode][Dialog] Cleanup
AchimTuran Sep 9, 2016
247a9f5
remove compiler warnings
AchimTuran Sep 9, 2016
b09d1cd
[CompressorMode][Dialog] Added default compressor values handling
AchimTuran Sep 10, 2016
c22bc02
[CompressorMode][Dialog] Process default values
AchimTuran Sep 10, 2016
35446ef
[KodiThreads] Move KodiThreads into a self contained repository
AchimTuran Sep 10, 2016
ef89c01
Fix missing adsp.template in include paths
AchimTuran Sep 11, 2016
6de1e0a
[adsp.template] Move sources into own repository
AchimTuran Sep 11, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
language: cpp

#
# Define the build matrix
#
# Travis defaults to building on Ubuntu Precise when building on
# Linux. We need Trusty in order to get up to date versions of
# cmake and g++.
#
matrix:
include:
- os: linux
dist: trusty
sudo: required
compiler: gcc
- os: linux
dist: trusty
sudo: required
compiler: clang
- os: osx
osx_image: xcode7.3
- os: osx
osx_image: xcode6.1

#
# Some of the OS X images don't have cmake, contrary to what people
# on the Internet say
#
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then which cmake || brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then which cmake || brew install cmake ; fi

#
# The addon source is automatically checked out in $TRAVIS_BUILD_DIR,
# we'll put the Kodi source on the same level
#
before_script:
- cd $TRAVIS_BUILD_DIR/..
- git clone --depth=1 https://github.com/xbmc/xbmc.git
- cd adsp.template && mkdir build && cd build
- cmake -DADDONS_TO_BUILD=adsp.template -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/project/cmake/addons

script: make
150 changes: 150 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
include(cmake/addon-template-helpers.cmake)

project(adsp.playground C CXX)

cmake_minimum_required(VERSION 2.6)

list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR})

enable_language(CXX)

find_package(Kodi REQUIRED)
find_package(kodiplatform REQUIRED)
find_package(p8-platform REQUIRED)
find_package(TinyXML REQUIRED)

include(cmake/helpers/gitCloneProject.cmake)
# Include asplib
if(NOT ASPLIB_MODULES_TO_BUILD)
set(ASPLIB_MODULES_TO_BUILD Dynamics Biquad)
endif()
git_clone_project(PROJ asplib
GIT_REPOSITORY https://github.com/AchimTuran/asplib
GIT_TAG adding_dynamics_module)
add_subdirectory(${asplib_SOURCE_DIR} ${asplib_BINARY_DIR})

git_clone_project(PROJ KodiThreads
GIT_REPOSITORY https://github.com/AchimTuran/KodiThreads
GIT_TAG develop)
add_subdirectory(${KodiThreads_SOURCE_DIR} ${KodiThreads_BINARY_DIR})
set_property(TARGET KodiThreads PROPERTY FOLDER "depends")

git_clone_project(PROJ adsp_base
GIT_REPOSITORY https://github.com/AchimTuran/adsp_base
GIT_TAG adsp.template_readd)
add_subdirectory(${adsp_base_SOURCE_DIR} ${adsp_base_BINARY_DIR})
set_property(TARGET adsp_base PROPERTY FOLDER "depends")

include_directories(${kodiplatform_INCLUDE_DIRS}
${p8-platform_INCLUDE_DIRS}
${KODI_INCLUDE_DIR}
${PROJECT_SOURCE_DIR}/src)
#${PROJECT_SOURCE_DIR}/src/template)
#${PROJECT_SOURCE_DIR}/src/KodiThreads)

set(ADSP_PLAYGROUND_SOURCES #src/ADDONOptional.cpp
#src/channelUpmixer.cpp
#src/DSPProcessor.cpp
src/Dialogs/GUIDialogMasterProcess.cpp
src/Dialogs/GUIDialogOutputResample.cpp
src/Dialogs/GUIDialogPostProcess.cpp
src/Dialogs/GUIDialogPreProcess.cpp

#src/ADDONOptional.h
#src/channelUpmixer.h
#src/DSPProcessor.h
src/Dialogs/GUIDialogMasterProcess.h
src/Dialogs/GUIDialogOutputResample.h
src/Dialogs/GUIDialogPostProcess.h
src/Dialogs/GUIDialogPreProcess.h

# Processing Modes
src/PreProcessCpyModeSettings.cpp
src/PreProcessCpyModeSettings.hpp
src/PreProcessCpy.cpp
src/PreProcessCpy.hpp
src/PostProcessCpyModeSettings.cpp
src/PostProcessCpyModeSettings.hpp
src/PostProcessCpy.cpp
src/PostProcessCpy.hpp
src/InputResampleCpyModeSettings.cpp
src/InputResampleCpyModeSettings.hpp
src/InputResampleCpy.cpp
src/InputResampleCpy.hpp

src/GainMode/GainModeMessages.cpp
src/GainMode/GainModeMessages.hpp
src/GainMode/GainModeModel.cpp
src/GainMode/GainModeModel.hpp
src/GainMode/GainModeModelMessages.cpp
src/GainMode/GainModeModelMessages.hpp
src/GainMode/GainModeSettings.cpp
src/GainMode/GainModeSettings.hpp
src/GainMode/GainMode.cpp
src/GainMode/GainMode.hpp
src/GainMode/GainModeDialogSettings.cpp
src/GainMode/GainModeDialogSettings.hpp
src/GainMode/GainModeDialog.cpp
src/GainMode/GainModeDialog.hpp
src/GainMode/GainModeDialogMessages.cpp
src/GainMode/GainModeDialogMessages.hpp
src/GainMode/GainModeController.cpp
src/GainMode/GainModeController.hpp
src/GainMode/GainModeControllerMessages.cpp
src/GainMode/GainModeControllerMessages.hpp
src/GainModeEnvironment.cpp
src/GainModeEnvironment.hpp

src/CompressorMode/CompressorModeDefaults.h
src/CompressorMode/CompressorMode.cpp
src/CompressorMode/CompressorMode.hpp
src/CompressorMode/CompressorModeController.cpp
src/CompressorMode/CompressorModeController.hpp
src/CompressorMode/CompressorModeControllerMessages.cpp
src/CompressorMode/CompressorModeControllerMessages.hpp
src/CompressorMode/CompressorModeDialog.cpp
src/CompressorMode/CompressorModeDialog.hpp
src/CompressorMode/CompressorModeDialogMessages.cpp
src/CompressorMode/CompressorModeDialogMessages.hpp
src/CompressorMode/CompressorModeDialogSettings.cpp
src/CompressorMode/CompressorModeDialogSettings.hpp
src/CompressorMode/CompressorModeMessages.cpp
src/CompressorMode/CompressorModeMessages.hpp
src/CompressorMode/CompressorModeModel.cpp
src/CompressorMode/CompressorModeModel.hpp
src/CompressorMode/CompressorModeModelMessages.cpp
src/CompressorMode/CompressorModeModelMessages.hpp
src/CompressorMode/CompressorModeSettings.cpp
src/CompressorMode/CompressorModeSettings.hpp
src/CompressorModeEnvironment.cpp
src/CompressorModeEnvironment.hpp

src/EnumStrIDs.cpp
src/EnumStrIDs.hpp)

#src/CpyModesProcess.cpp
#src/CpyModesProcess.hpp)


set(DEPLIBS ${kodiplatform_LIBRARIES}
${p8-platform_LIBRARIES}
kodi::KodiThreads
adsp::adsp_base
asplib::Core
asplib::Dynamics
asplib::Biquad)

addon_source_group("${ADSP_PLAYGROUND_SOURCES}")

build_addon(adsp.playground ADSP_PLAYGROUND DEPLIBS)

# For generating the doxy
find_package(Doxygen QUIET)
if(DOXYGEN_FOUND)
add_custom_target(doc ${DOXYGEN_EXECUTABLE} ${PROJECT_SOURCE_DIR}/doxygen_resources/Doxyfile
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}
COMMENT "Generating API documentation" VERBATIM)
endif()

include(CPack)

28 changes: 28 additions & 0 deletions FindTinyXML.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# - Find TinyXML
# Find the native TinyXML includes and library
#
# TINYXML_FOUND - True if TinyXML found.
# TINYXML_INCLUDE_DIRS - where to find tinyxml.h, etc.
# TINYXML_LIBRARIES - List of libraries when using TinyXML.
#

if(PKG_CONFIG_FOUND)
pkg_check_modules (TINYXML tinyxml)
list(APPEND TINYXML_INCLUDE_DIRS ${TINYXML_INCLUDEDIR})
endif()

if(NOT TINYXML_FOUND)
find_path(TINYXML_INCLUDE_DIRS "tinyxml.h"
PATH_SUFFIXES "tinyxml" )

find_library( TINYXML_LIBRARIES
NAMES "tinyxml"
PATH_SUFFIXES "tinyxml" )
endif()

# handle the QUIETLY and REQUIRED arguments and set TINYXML_FOUND to TRUE if
# all listed variables are TRUE
include( "FindPackageHandleStandardArgs" )
find_package_handle_standard_args(TinyXML DEFAULT_MSG TINYXML_INCLUDE_DIRS TINYXML_LIBRARIES )

mark_as_advanced(TINYXML_INCLUDE_DIRS TINYXML_LIBRARIES)
66 changes: 66 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
#### CI Testing
* Tarvis-CI for OS X, iOS, Linux [![Build Status](https://travis-ci.org/kodi-adsp/adsp.template.svg?branch=master)](https://travis-ci.org/kodi-adsp/adsp.template)
* AppVeyor for Windows [![Build status](https://ci.appveyor.com/api/projects/status/p3pd175e1leas49a/branch/master?svg=true)](https://ci.appveyor.com/project/AchimTuran/adsp-template/branch/master)
* Code analyses for Linux [![Coverity Scan Build Status](https://scan.coverity.com/projects/5120/badge.svg)](https://scan.coverity.com/projects/5120)


ADSP Template Addon
==============
You can use this template to see how the ADSP Addon API works or to start a new ADSP Addon.
Preprocessing only copies input to output.
Master process implements a simple channel upmixer (e.g. stereo to 5.1) by copying the input channel to output channels.
Postprocessing copies input samples to output.


ADSP Addon API Documentation
==============
For more details see: http://wisler.bplaced.de/xbmc-adsp-addons/

## Build instructions for Kodi's binary add-ons

When building the addon you have to use the correct branch depending on which version of Kodi you're building against.
For example, if you're building the `Jarvis` branch of Kodi you should checkout the `Jarvis` branch of this repository.
Addon releases are also tagged regularly.

For further instructions replace `{addon-id}` and `{org}` with the repository- and the Github organisation-name.
E.g. `https://github.com/kodi-adsp/adsp.basic.git` results in `{addon-id}=adsp.basic` and `{org}=kodi-adsp`

With the following instructions the add-on files will be placed in `../../xbmc/addons`. Consequently this adds a system add-on, which can be used direclty if you build Kodi from source.

### Linux

1. `git clone https://github.com/xbmc/xbmc.git`
2. `git clone https://github.com/{org}/{addon-id}.git`
3. `cd {addon-id} && mkdir build && cd build`
4. `cmake -DADDONS_TO_BUILD={addon-id} -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/project/cmake/addons`
5. `make`

### Windows

Use the visual studio command line or run `call "%VS120COMNTOOLS%..\..\VC\bin\vcvars32.bat"`

1. `git clone https://github.com/xbmc/xbmc.git`
2. `git clone https://github.com/{org}/{addon-id}.git`
3. `cd {addon-id} && mkdir build && cd build`
4. `cmake -G "NMake Makefiles" -DADDONS_TO_BUILD={addon-id} -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/project/cmake/addons`
5. `cmake --build "%cd%" --target "{addon-id}"`


### Issues

- On Windows it can happen that you see the error message "Filename too long" to solve the issue run "git config --system core.longpaths true" as administrator in cmd.exe


## Useful links

* [Kodi's PVR user support] (http://forum.kodi.tv/forumdisplay.php?fid=167)
* [General binary add-on development] (http://forum.kodi.tv/forumdisplay.php?fid=26)
* [Kodi Core development support] (http://forum.kodi.tv/forumdisplay.php?fid=93)
* [Kodi AudioDSP development support] (http://forum.kodi.tv/forumdisplay.php?fid=235)
* [Kodi Screensavers and Visualisations development support] (http://forum.kodi.tv/forumdisplay.php?fid=38)
* [Kodi PVR development support] (http://forum.kodi.tv/forumdisplay.php?fid=136)

-------------
#### License
[GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007](https://github.com/kodi-adsp/adsp.template/blob/master/LICENSE.md)

24 changes: 24 additions & 0 deletions adsp.playground/addon.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="adsp.playground"
version="1.0.0"
name="Audio DSP Playground"
provider-name="Team KODI">
<requires>
<c-pluff version="0.1"/>
<import addon="kodi.adsp" version="0.1.7"/>
</requires>
<extension
point="kodi.adsp"
library_linux="adsp.playground.so"
library_osx="adsp.playground.dylib"
library_wingl="adsp.playgrpund.dll"
library_windx="adsp.playground.dll"
library_android="libadsp.playground.so" />
<extension point="kodi.addon.metadata">
<summary lang="en">AudioDSP Playground Add-On</summary>
<description lang="en">This add-on will include the latest implementations of new algorithms and has the focus on testin. It might have some bugs, so please be careful with it and always keep your speakers quiet during your first tests.</description>
<disclaimer lang="en">Just contains latest processing algorithms for testing.</disclaimer>
<platform>all</platform>
</extension>
</addon>
Loading