Skip to content

Commit

Permalink
Merge pull request #10 from AlwinEsch/Leia-change
Browse files Browse the repository at this point in the history
Final Leia release changes (rework and fix, description text, version increase)
  • Loading branch information
AlwinEsch authored Sep 18, 2019
2 parents 52db968 + 78177d7 commit 111ac60
Show file tree
Hide file tree
Showing 15 changed files with 1,678 additions and 652 deletions.
39 changes: 39 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# build artifacts
build/
audiodecoder.*/addon.xml

# Debian build files
debian/changelog
debian/files
debian/*.log
debian/*.substvars
debian/.debhelper/
debian/tmp/
debian/kodi-audiodecoder-*/
obj-x86_64-linux-gnu/

# commonly used editors
# vim
*.swp

# Eclipse
*.project
*.cproject
.classpath
*.sublime-*
.settings/

# KDevelop 4
*.kdev4

# Visual Studio
.vs/

# gedit
*~

# CLion
/.idea

# clion
.idea/
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ add_subdirectory(lib/psflib)
add_subdirectory(lib/Highly_Theoretical)

set(SSF_SOURCES src/SSFCodec.cpp)
set(SSF_HEADERS src/CircularBuffer.h
src/SSFCodec.h)

set(DEPLIBS highly_theoretical psflib ${ZLIB_LIBRARIES})

Expand Down
8 changes: 4 additions & 4 deletions audiodecoder.ssf/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="audiodecoder.ssf"
version="2.0.0"
version="2.0.1"
name="SSF/DSF Audio Decoder"
provider-name="spiff">
<requires>@ADDON_DEPENDS@</requires>
<extension
point="kodi.audiodecoder"
name="ssf"
extension=".ssf|.minissf|.minidsf"
extension=".ssf|.minissf|.dsf|.minidsf"
tags="true"
library_@PLATFORM@="@LIBRARY_FILENAME@"/>
<extension point="xbmc.addon.metadata">
<summary lang="en">SSF/DSF Audio Decoder</summary>
<description lang="en">SSF/DSF Audio Decoder</description>
<summary lang="en">Sega SSF/DSF Audio Decoder</summary>
<description lang="en">Sega Saturn Sound Format (SSF) and Dreamcast Sound Format (DSF) is an audio format based on PSF. It stores audio ripped from the ROMs of Sega Saturn and Sega Dreamcast games.</description>
<platform>@PLATFORM@</platform>
</extension>
</addon>
Binary file added audiodecoder.ssf/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
msgid ""
msgstr ""
"Project-Id-Version: XBMC Main Translation Project (Frodo)\n"
"Report-Msgid-Bugs-To: http://trac.xbmc.org/\n"
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: XBMC Translation Team\n"
"Language-Team: English (http://www.transifex.com/projects/p/XBMC-Main-Frodo/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 "Default length"
msgstr ""

msgctxt "#30001"
msgid "Used if specified file does not provide the length"
msgstr ""

msgctxt "#30002"
msgid "unused"
msgstr ""

msgctxt "#30003"
msgid "{0:d} s"
msgstr ""

msgctxt "#30004"
msgid "Default fade out time"
msgstr ""

msgctxt "#30005"
msgid "Used if specified file does not provide the length and fade"
msgstr ""

msgctxt "#30006"
msgid "unused"
msgstr ""

msgctxt "#30007"
msgid "{0:d} ms"
msgstr ""

msgctxt "#30008"
msgid "Suppress opening silence"
msgstr ""

msgctxt "#30009"
msgid "Some files start with silent data, this prevents it and looks for the beginning"
msgstr ""

msgctxt "#30010"
msgid "Suppress end silence"
msgstr ""

msgctxt "#30011"
msgid "Some files end with silent data, this prevents it and looks for the end"
msgstr ""

msgctxt "#30012"
msgid "Second of silence to check"
msgstr ""

msgctxt "#30013"
msgid "How many silent seconds are allowed before playback is stopped"
msgstr ""

msgctxt "#30014"
msgid "{0:d} s"
msgstr ""

msgctxt "#30015"
msgid "Direct output"
msgstr ""

msgctxt "#30016"
msgid "Enable direct (dry) output"
msgstr ""

msgctxt "#30017"
msgid "DSP emulation"
msgstr ""

msgctxt "#30018"
msgid "Enable DSP emulation (for reverb, etc.)"
msgstr ""

msgctxt "#30019"
msgid "Dynamic recompiler"
msgstr ""

msgctxt "#30020"
msgid "Emulate DSP using dynamic recompiler"
msgstr ""
69 changes: 69 additions & 0 deletions audiodecoder.ssf/resources/settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<settings version="1">
<section id="addon" label="-1" help="-1">
<category id="main" label="128" help="-1">
<group id="1" label="-1">
<setting id="defaultlength" type="integer" label="30000" help="30001">
<default>0</default>
<constraints>
<minimum label="30002">0</minimum>
<step>5</step>
<maximum>500</maximum>
</constraints>
<control type="list" format="string">
<formatlabel>30003</formatlabel>
</control>
</setting>
<setting id="defaultfade" type="integer" label="30004" help="30005">
<default>10000</default>
<constraints>
<minimum label="30006">0</minimum>
<step>100</step>
<maximum>50000</maximum>
</constraints>
<control type="list" format="string">
<formatlabel>30007</formatlabel>
</control>
</setting>
<setting id="suppressopeningsilence" type="boolean" label="30008" help="30009">
<default>true</default>
<control type="toggle" />
</setting>
<setting id="suppressendsilence" type="boolean" label="30010" help="30011">
<default>true</default>
<control type="toggle" />
</setting>
<setting id="endsilenceseconds" type="integer" label="30012" help="30013">
<default>5</default>
<constraints>
<minimum>1</minimum>
<step>1</step>
<maximum>20</maximum>
</constraints>
<dependencies>
<dependency type="enable">
<or>
<condition setting="suppressopeningsilence" operator="is">true</condition>
<condition setting="suppressendsilence" operator="is">true</condition>
</or>
</dependency>
</dependencies>
<control type="list" format="string">
<formatlabel>30014</formatlabel>
</control>
</setting>
<setting id="dry" type="boolean" label="30015" help="30016">
<default>true</default>
<control type="toggle" />
</setting>
<setting id="dsp" type="boolean" label="30017" help="30018">
<default>true</default>
<control type="toggle" />
</setting>
<setting id="dspdynamicrec" type="boolean" label="30019" help="30020">
<default>true</default>
<control type="toggle" />
</setting>
</group>
</category>
</section>
</settings>
4 changes: 4 additions & 0 deletions lib/kodi-Highly_Theoretical-note.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Highly_Theoretical source from https://github.com/kode54/Highly_Theoretical
Sync to 2998a4b (24 Jul 2016)

Include fix build for ios/osx/android, see https://github.com/xbmc/audiodecoder.ssf/commit/41ef56f7
2 changes: 2 additions & 0 deletions lib/kodi-psflib-note.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
psflib source from https://github.com/kode54/psflib
Sync to 6cb3515 (2 May 2019)
24 changes: 24 additions & 0 deletions lib/psflib/psf2fs.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
/*
PSFLIB - PSF2FS implementation
Copyright (c) 2012-2015 Christopher Snowhill
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/

#include "psf2fs.h"

#include <ctype.h>
Expand Down
24 changes: 24 additions & 0 deletions lib/psflib/psf2fs.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
/*
PSFLIB - PSF2FS implementation
Copyright (c) 2012-2015 Christopher Snowhill
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/

#ifndef PSF2FS_H
#define PSF2FS_H

Expand Down
Loading

0 comments on commit 111ac60

Please sign in to comment.