Skip to content

Commit

Permalink
Initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
AlwinEsch committed Apr 12, 2015
1 parent f79c789 commit b366a3f
Show file tree
Hide file tree
Showing 40 changed files with 6,897 additions and 0 deletions.
30 changes: 30 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
project(adsp.freesurround)

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)

include_directories(${kodiplatform_INCLUDE_DIRS}
${KODI_INCLUDE_DIR})

set(FREESURROUND_SOURCES src/addon.cpp
src/GUIDialogFreeSurround.cpp
src/kissfft/kiss_fft.cpp
src/kissfft/kiss_fftr.cpp
src/DSPProcessFreeSurround.cpp
src/FreeSurroundSettings.cpp
src/ChannelMaps.cpp
src/FreeSurroundDecoder.cpp)

set(DEPLIBS ${kodiplatform_LIBRARIES})

build_addon(adsp.freesurround FREESURROUND DEPLIBS)

add_definitions(-DFREESURROUND_VERSION="${FREESURROUND_VERSION}")

include(CPack)
30 changes: 30 additions & 0 deletions adsp.freesurround/addon.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="adsp.freesurround"
version="0.1.0"
name="Free Surround Processor"
provider-name="Team KODI">
<requires>
<c-pluff version="0.1"/>
<import addon="kodi.adsp" version="0.0.1"/>
</requires>
<extension
point="kodi.adsp"
library_linux="adsp.freesurround.so"
library_osx="adsp.freesurround.dylib"
library_wingl="adsp.freesurround.dll"
library_windx="adsp.freesurround.dll"
library_android="libadsp.freesurround.so" />
<extension point="kodi.addon.metadata">
<summary lang="en">Free Surround Audio DSP Processor</summary>
<description lang="en">FreeSurround is meant to be the KODI equivalent of your hi-fi receiver's Dolby ProLogic II button.
It's purpose is to decode surround information from your stereo music and to produce multichannel output from it.</description>
<disclaimer lang="en">This is a open source audio dsp processing system, based upon work from pro_optimizer on foobar2000</disclaimer>
<platform>all</platform>
<license>GNU GENERAL PUBLIC LICENSE. Version 3, June 2007</license>
<forum></forum>
<website></website>
<email></email>
<source>https://github.com/kodi-adsp/adsp.freesurround</source>
</extension>
</addon>
2 changes: 2 additions & 0 deletions adsp.freesurround/changelog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
0.1.0 (2015-04-12)
- initial version
Binary file added adsp.freesurround/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
74 changes: 74 additions & 0 deletions adsp.freesurround/resources/language/English/strings.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# Kodi Media Center language file
# Addon Name: Free Surround ADSP addon
# Addon id: adsp.freesurround
# Addon version: 0.1.0
# Addon Provider: Alwin Esch, Team KODI
msgid ""
msgstr ""
"Project-Id-Version: XBMC Main\n"
"Report-Msgid-Bugs-To: http://trac.kodi.tv/\n"
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Kodi Translation Team\n"
"Language-Team: English (http://www.transifex.com/projects/p/xbmc-main/language/en/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: en\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgctxt "#30000"
msgid "Free Surround"
msgstr ""

msgctxt "#30001"
msgid "Free Surround ..."
msgstr ""

msgctxt "#30002"
msgid "FreeSurround, a new surround processor. Is based on foo_dsp_fsurround from pro_optimizer on foobar2000 0.9.x."
msgstr ""

msgctxt "#30003"
msgid "FreeSurround is meant to be the KODI equivalent of your hi-fi receiver's Dolby ProLogic II button (except that it uses a different algorithm).\n\nIts purpose is to decode surround information from your stereo music (including mp3, of course), and to produce multichannel output from it. It works with any stereo music containing surround info in a coding scheme compatible with any the following decoders:\n - Dolby Surround\n - Dolby ProLogic\n - Dolby ProLogic II\n - SRS CircleSurround\n - SRS CircleSurround II\n - DTS Neo:6\n - Lexicon Logic7\n - Stereo Quadrophonic (SQ)\n - Quadrophonic Stereo (QS)\n\nIs based on foo_dsp_fsurround from pro_optimizer on foobar2000 0.9.x"
msgstr ""

msgctxt "#30011"
msgid "Free Surround"
msgstr ""

msgctxt "#30012"
msgid "Steering mode"
msgstr ""

msgctxt "#30013"
msgid "Depth (backwards scaling)"
msgstr ""

msgctxt "#30014"
msgid "Focus (ambience <-> localization)"
msgstr ""

msgctxt "#30015"
msgid "Center width"
msgstr ""

msgctxt "#30016"
msgid "Front separation"
msgstr ""

msgctxt "#30017"
msgid "Rear separation"
msgstr ""

msgctxt "#30018"
msgid "Panorama (circular wrap)"
msgstr ""

msgctxt "#30019"
msgid "Phase Mode"
msgstr ""

msgctxt "#30020"
msgid "Dimension (front/back shift)"
msgstr ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@
<window>
<defaultcontrol always="true">9000</defaultcontrol>
<coordinates>
<system>1</system>
<posx>240</posx>
<posy>60</posy>
</coordinates>
<include>dialogeffect</include>
<controls>
<control type="image">
<description>background image</description>
<posx>0</posx>
<posy>0</posy>
<width>800</width>
<height>600</height>
<texture border="40">DialogBack.png</texture>
</control>
<control type="image">
<description>Dialog Header image</description>
<posx>40</posx>
<posy>16</posy>
<width>720</width>
<height>40</height>
<texture>dialogheader.png</texture>
</control>
<control type="label">
<description>header label</description>
<posx>40</posx>
<posy>20</posy>
<width>720</width>
<height>30</height>
<font>font13_title</font>
<label>$ADDON[adsp.freesurround 30011]</label>
<align>center</align>
<aligny>center</aligny>
<textcolor>selected</textcolor>
<shadowcolor>black</shadowcolor>
</control>
<control type="button">
<description>Close Window button</description>
<posx>710</posx>
<posy>15</posy>
<width>64</width>
<height>32</height>
<label>-</label>
<font>-</font>
<onclick>PreviousMenu</onclick>
<texturefocus>DialogCloseButton-focus.png</texturefocus>
<texturenofocus>DialogCloseButton.png</texturenofocus>
<onleft>10</onleft>
<onright>10</onright>
<onup>10</onup>
<ondown>10</ondown>
<visible>system.getbool(input.enablemouse)</visible>
</control>
<control type="grouplist" id="9000">
<description>General Options list</description>
<posx>40</posx>
<posy>55</posy>
<width>720</width>
<height>475</height>
<onup>9001</onup>
<ondown>9001</ondown>
<control type="sliderex" id="41">
<description>Circular wrap</description>
<height>40</height>
<texturenofocus border="5">button-nofocus.png</texturenofocus>
<texturefocus border="5">button-focus2.png</texturefocus>
<font>font13</font>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<label>$ADDON[adsp.freesurround 30018]</label>
</control>
<control type="sliderex" id="42">
<description>Shift</description>
<height>40</height>
<texturenofocus border="5">button-nofocus.png</texturenofocus>
<texturefocus border="5">button-focus2.png</texturefocus>
<font>font13</font>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<label>$ADDON[adsp.freesurround 30020]</label>
</control>
<control type="sliderex" id="43">
<description>Depth</description>
<height>40</height>
<texturenofocus border="5">button-nofocus.png</texturenofocus>
<texturefocus border="5">button-focus2.png</texturefocus>
<font>font13</font>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<label>$ADDON[adsp.freesurround 30013]</label>
</control>
<control type="sliderex" id="44">
<description>Focus</description>
<height>40</height>
<texturenofocus border="5">button-nofocus.png</texturenofocus>
<texturefocus border="5">button-focus2.png</texturefocus>
<font>font13</font>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<label>$ADDON[adsp.freesurround 30014]</label>
</control>
<control type="sliderex" id="45">
<description>front seperation</description>
<height>40</height>
<texturenofocus border="5">button-nofocus.png</texturenofocus>
<texturefocus border="5">button-focus2.png</texturefocus>
<font>font13</font>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<label>$ADDON[adsp.freesurround 30016]</label>
</control>
<control type="sliderex" id="46">
<description>rear seperation</description>
<height>40</height>
<texturenofocus border="5">button-nofocus.png</texturenofocus>
<texturefocus border="5">button-focus2.png</texturefocus>
<font>font13</font>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<label>$ADDON[adsp.freesurround 30017]</label>
</control>
</control>
<control type="group" id="9001">
<posx>95</posx>
<posy>535</posy>
<control type="button" id="1">
<description>Ok Button</description>
<posx>0</posx>
<posy>0</posy>
<width>200</width>
<height>40</height>
<align>center</align>
<aligny>center</aligny>
<texturenofocus border="5">button-nofocus.png</texturenofocus>
<texturefocus border="5">button-focus.png</texturefocus>
<label>186</label>
<font>font12_title</font>
<onup>9000</onup>
<onleft>5</onleft>
<onright>2</onright>
<ondown>9000</ondown>
</control>
<control type="button" id="2">
<description>Cancel Button</description>
<posx>210</posx>
<posy>0</posy>
<width>200</width>
<height>40</height>
<align>center</align>
<aligny>center</aligny>
<texturenofocus border="5">button-nofocus.png</texturenofocus>
<texturefocus border="5">button-focus.png</texturefocus>
<label>222</label>
<font>font12_title</font>
<onup>9000</onup>
<onleft>1</onleft>
<onright>5</onright>
<ondown>9000</ondown>
</control>
<control type="button" id="5">
<description>Default Button</description>
<posx>420</posx>
<posy>0</posy>
<width>200</width>
<height>40</height>
<align>center</align>
<aligny>center</aligny>
<texturenofocus border="5">button-nofocus.png</texturenofocus>
<texturefocus border="5">button-focus.png</texturefocus>
<label>409</label>
<font>font12_title</font>
<onup>9000</onup>
<onleft>2</onleft>
<onright>1</onright>
<ondown>9000</ondown>
</control>
</control>
</controls>
</window>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
kodi-audiodsp-freesurround (1.0.0-1~trusty) trusty; urgency=low

[ wsnipex ]
* initial release

-- wsnipex <[email protected]> Sat, 17 May 2014 11:40:22 +0100

7 changes: 7 additions & 0 deletions debian/changelog.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
kodi-audiodsp-freesurround (#PACKAGEVERSION#-#TAGREV#~#DIST#) #DIST#; urgency=low

[ kodi ]
* autogenerated dummy changelog

-- wsnipex <[email protected]> Sat, 17 May 2014 11:40:22 +0100

1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8
22 changes: 22 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Source: kodi-audiodsp-freesurround
Priority: extra
Maintainer: wsnipex <[email protected]>
Build-Depends: debhelper (>= 8.0.0), cmake, kodi-addon-dev, libkodiplatform-dev, kodi-audio-dev, libfftw3-dev, libsamplerate0-dev, doxygen
Standards-Version: 3.9.2
Section: libs
Homepage: http://kodi.tv

Package: kodi-audiodsp-freesurround
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Audio DSP freesurround addon for KODI
KODI freesurround audio DSP addon

Package: kodi-audiodsp-freesurround-dbg
Section: debug
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: debug symbols for Audio DSP freesurround addon for KODI
contains the debug symbols for the KODI freesurround audio DSP addon

21 changes: 21 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Format: http://dep.debian.net/deps/dep5
Upstream-Name: adsp.freesurround

Files: *
Copyright: Team KODI
License: GPL-3
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-3".
Loading

0 comments on commit b366a3f

Please sign in to comment.