forked from beschulz/wav2json
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fixed some warnings * got rid of strncmp * added 32bit float test wav file.
- Loading branch information
Showing
14 changed files
with
340 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
.DS_Store | ||
*~ | ||
example_data/*.wav | ||
src/version.hpp | ||
src/version.hpp | ||
build/foo.json | ||
build/foo.wav | ||
build/foo.wav.json | ||
build/wav2json/.idea | ||
*.asd |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,243 @@ | ||
// !$*UTF8*$! | ||
{ | ||
archiveVersion = 1; | ||
classes = { | ||
}; | ||
objectVersion = 46; | ||
objects = { | ||
|
||
/* Begin PBXBuildFile section */ | ||
6CE9F0D274555416F7BD3AF4 /* wav2json.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6CE9F436569616CC25F624A9 /* wav2json.cpp */; }; | ||
6CE9FD21AFCA691902D07DD6 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6CE9F39531DE504E547224AD /* main.cpp */; }; | ||
/* End PBXBuildFile section */ | ||
|
||
/* Begin PBXCopyFilesBuildPhase section */ | ||
6CE9F18B943059F9A521C69F /* CopyFiles */ = { | ||
isa = PBXCopyFilesBuildPhase; | ||
buildActionMask = 2147483647; | ||
dstPath = /usr/share/man/man1/; | ||
dstSubfolderSpec = 0; | ||
files = ( | ||
); | ||
runOnlyForDeploymentPostprocessing = 1; | ||
}; | ||
/* End PBXCopyFilesBuildPhase section */ | ||
|
||
/* Begin PBXFileReference section */ | ||
6CE9F156651005FBB996019E /* wav2json */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = wav2json; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
6CE9F39531DE504E547224AD /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = main.cpp; path = ../../../src/main.cpp; sourceTree = "<group>"; }; | ||
6CE9F436569616CC25F624A9 /* wav2json.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = wav2json.cpp; path = ../../../src/wav2json.cpp; sourceTree = "<group>"; }; | ||
6CE9F5A912A8552742FB2D4E /* wav2json.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = wav2json.hpp; path = ../../../src/wav2json.hpp; sourceTree = "<group>"; }; | ||
6CE9FAE866C1F7D9A5A65D2C /* options.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = options.hpp; path = ../../../src/options.hpp; sourceTree = "<group>"; }; | ||
6CE9FBAB352728F084E54037 /* version.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = version.hpp; path = ../../../src/version.hpp; sourceTree = "<group>"; }; | ||
/* End PBXFileReference section */ | ||
|
||
/* Begin PBXFrameworksBuildPhase section */ | ||
6CE9F9829EE646ED7A487F09 /* Frameworks */ = { | ||
isa = PBXFrameworksBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
/* End PBXFrameworksBuildPhase section */ | ||
|
||
/* Begin PBXGroup section */ | ||
6CE9F92C6E29A82E3E540581 /* wav2json */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
6CE9F5A912A8552742FB2D4E /* wav2json.hpp */, | ||
6CE9F39531DE504E547224AD /* main.cpp */, | ||
6CE9FBAB352728F084E54037 /* version.hpp */, | ||
6CE9FAE866C1F7D9A5A65D2C /* options.hpp */, | ||
6CE9F436569616CC25F624A9 /* wav2json.cpp */, | ||
); | ||
path = wav2json; | ||
sourceTree = "<group>"; | ||
}; | ||
6CE9FA3657822207E03354E2 /* Products */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
6CE9F156651005FBB996019E /* wav2json */, | ||
); | ||
name = Products; | ||
sourceTree = "<group>"; | ||
}; | ||
6CE9FCE697CACD18277489AB = { | ||
isa = PBXGroup; | ||
children = ( | ||
6CE9FA3657822207E03354E2 /* Products */, | ||
6CE9F92C6E29A82E3E540581 /* wav2json */, | ||
); | ||
sourceTree = "<group>"; | ||
}; | ||
/* End PBXGroup section */ | ||
|
||
/* Begin PBXNativeTarget section */ | ||
6CE9F573B429E3AB872EAAA6 /* wav2json */ = { | ||
isa = PBXNativeTarget; | ||
buildConfigurationList = 6CE9F9D1A7F0746D16FFBC06 /* Build configuration list for PBXNativeTarget "wav2json" */; | ||
buildPhases = ( | ||
6CE9F65A9C7DE9464DF193F6 /* Sources */, | ||
6CE9F9829EE646ED7A487F09 /* Frameworks */, | ||
6CE9F18B943059F9A521C69F /* CopyFiles */, | ||
); | ||
buildRules = ( | ||
); | ||
dependencies = ( | ||
); | ||
name = wav2json; | ||
productName = wav2json; | ||
productReference = 6CE9F156651005FBB996019E /* wav2json */; | ||
productType = "com.apple.product-type.tool"; | ||
}; | ||
/* End PBXNativeTarget section */ | ||
|
||
/* Begin PBXProject section */ | ||
6CE9F527A8235C16154B1C10 /* Project object */ = { | ||
isa = PBXProject; | ||
attributes = { | ||
ORGANIZATIONNAME = "Benjamin Schulz"; | ||
}; | ||
buildConfigurationList = 6CE9FD3660D4BFCED2DF8CDA /* Build configuration list for PBXProject "wav2json" */; | ||
compatibilityVersion = "Xcode 3.2"; | ||
developmentRegion = English; | ||
hasScannedForEncodings = 0; | ||
knownRegions = ( | ||
en, | ||
); | ||
mainGroup = 6CE9FCE697CACD18277489AB; | ||
productRefGroup = 6CE9FA3657822207E03354E2 /* Products */; | ||
projectDirPath = ""; | ||
projectRoot = ""; | ||
targets = ( | ||
6CE9F573B429E3AB872EAAA6 /* wav2json */, | ||
); | ||
}; | ||
/* End PBXProject section */ | ||
|
||
/* Begin PBXSourcesBuildPhase section */ | ||
6CE9F65A9C7DE9464DF193F6 /* Sources */ = { | ||
isa = PBXSourcesBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
6CE9FD21AFCA691902D07DD6 /* main.cpp in Sources */, | ||
6CE9F0D274555416F7BD3AF4 /* wav2json.cpp in Sources */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
/* End PBXSourcesBuildPhase section */ | ||
|
||
/* Begin XCBuildConfiguration section */ | ||
6CE9F4BE0BFBB9DDC5050075 /* Debug */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
GCC_VERSION = com.apple.compilers.llvmgcc42; | ||
OTHER_LDFLAGS = ( | ||
"-L/usr/local/lib", | ||
"-lboost_program_options-mt", | ||
"-lsndfile", | ||
); | ||
PRODUCT_NAME = "$(TARGET_NAME)"; | ||
}; | ||
name = Debug; | ||
}; | ||
6CE9F61E6B13214395AED827 /* Release */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
ALWAYS_SEARCH_USER_PATHS = NO; | ||
ARCHS = "$(ARCHS_STANDARD_64_BIT)"; | ||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | ||
CLANG_CXX_LIBRARY = "libc++"; | ||
CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
CLANG_WARN_EMPTY_BODY = YES; | ||
CLANG_WARN_ENUM_CONVERSION = YES; | ||
CLANG_WARN_INT_CONVERSION = YES; | ||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | ||
COPY_PHASE_STRIP = YES; | ||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; | ||
GCC_C_LANGUAGE_STANDARD = gnu99; | ||
GCC_ENABLE_OBJC_EXCEPTIONS = YES; | ||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
GCC_WARN_ABOUT_RETURN_TYPE = YES; | ||
GCC_WARN_UNINITIALIZED_AUTOS = YES; | ||
GCC_WARN_UNUSED_VARIABLE = YES; | ||
HEADER_SEARCH_PATHS = /usr/local/include; | ||
MACOSX_DEPLOYMENT_TARGET = 10.8; | ||
OTHER_LDFLAGS = ""; | ||
SDKROOT = macosx; | ||
}; | ||
name = Release; | ||
}; | ||
6CE9FAE177C26D21DF76E347 /* Debug */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
ALWAYS_SEARCH_USER_PATHS = NO; | ||
ARCHS = "$(ARCHS_STANDARD_64_BIT)"; | ||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | ||
CLANG_CXX_LIBRARY = "libc++"; | ||
CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
CLANG_WARN_EMPTY_BODY = YES; | ||
CLANG_WARN_ENUM_CONVERSION = YES; | ||
CLANG_WARN_INT_CONVERSION = YES; | ||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | ||
COPY_PHASE_STRIP = NO; | ||
GCC_C_LANGUAGE_STANDARD = gnu99; | ||
GCC_DYNAMIC_NO_PIC = NO; | ||
GCC_ENABLE_OBJC_EXCEPTIONS = YES; | ||
GCC_OPTIMIZATION_LEVEL = 0; | ||
GCC_PREPROCESSOR_DEFINITIONS = ( | ||
"DEBUG=1", | ||
"$(inherited)", | ||
); | ||
GCC_SYMBOLS_PRIVATE_EXTERN = NO; | ||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
GCC_WARN_ABOUT_RETURN_TYPE = YES; | ||
GCC_WARN_UNINITIALIZED_AUTOS = YES; | ||
GCC_WARN_UNUSED_VARIABLE = YES; | ||
HEADER_SEARCH_PATHS = /usr/local/include; | ||
MACOSX_DEPLOYMENT_TARGET = 10.8; | ||
ONLY_ACTIVE_ARCH = YES; | ||
OTHER_LDFLAGS = ""; | ||
SDKROOT = macosx; | ||
}; | ||
name = Debug; | ||
}; | ||
6CE9FFED4AEBFEC9BEA8AB7A /* Release */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
GCC_VERSION = com.apple.compilers.llvmgcc42; | ||
OTHER_LDFLAGS = ( | ||
"-L/usr/local/lib", | ||
"-lboost_program_options-mt", | ||
"-lsndfile", | ||
); | ||
PRODUCT_NAME = "$(TARGET_NAME)"; | ||
}; | ||
name = Release; | ||
}; | ||
/* End XCBuildConfiguration section */ | ||
|
||
/* Begin XCConfigurationList section */ | ||
6CE9F9D1A7F0746D16FFBC06 /* Build configuration list for PBXNativeTarget "wav2json" */ = { | ||
isa = XCConfigurationList; | ||
buildConfigurations = ( | ||
6CE9FFED4AEBFEC9BEA8AB7A /* Release */, | ||
6CE9F4BE0BFBB9DDC5050075 /* Debug */, | ||
); | ||
defaultConfigurationIsVisible = 0; | ||
defaultConfigurationName = Release; | ||
}; | ||
6CE9FD3660D4BFCED2DF8CDA /* Build configuration list for PBXProject "wav2json" */ = { | ||
isa = XCConfigurationList; | ||
buildConfigurations = ( | ||
6CE9F61E6B13214395AED827 /* Release */, | ||
6CE9FAE177C26D21DF76E347 /* Debug */, | ||
); | ||
defaultConfigurationIsVisible = 0; | ||
defaultConfigurationName = Release; | ||
}; | ||
/* End XCConfigurationList section */ | ||
}; | ||
rootObject = 6CE9F527A8235C16154B1C10 /* Project object */; | ||
} |
7 changes: 7 additions & 0 deletions
7
build/wav2json/wav2json.xcodeproj/project.xcworkspace/contents.xcworkspacedata
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
38 changes: 38 additions & 0 deletions
38
...d/wav2json/wav2json.xcodeproj/xcuserdata/beschulz.xcuserdatad/xcschemes/wav2json.xcscheme
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,38 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
version = "1.3"> | ||
<BuildAction> | ||
<BuildActionEntries> | ||
<BuildActionEntry | ||
buildForRunning = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "6CE9F573B429E3AB872EAAA6" | ||
BuildableName = "wav2json" | ||
BlueprintName = "wav2json" | ||
ReferencedContainer = "container:wav2json.xcodeproj"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
</BuildActionEntries> | ||
</BuildAction> | ||
<LaunchAction | ||
useCustomWorkingDirectory = "YES" | ||
buildConfiguration = "Debug" | ||
customWorkingDirectory = "/Users/beschulz/projects/github/local/wav2json"> | ||
<BuildableProductRunnable> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "6CE9F573B429E3AB872EAAA6" | ||
BuildableName = "wav2json" | ||
BlueprintName = "wav2json" | ||
ReferencedContainer = "container:wav2json.xcodeproj"> | ||
</BuildableReference> | ||
</BuildableProductRunnable> | ||
<CommandLineArguments> | ||
<CommandLineArgument | ||
argument = "tests/32bit.wav" | ||
isEnabled = "YES"> | ||
</CommandLineArgument> | ||
</CommandLineArguments> | ||
</LaunchAction> | ||
</Scheme> |
14 changes: 14 additions & 0 deletions
14
...son/wav2json.xcodeproj/xcuserdata/beschulz.xcuserdatad/xcschemes/xcschememanagement.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>SuppressBuildableAutocreation</key> | ||
<dict> | ||
<key>6CE9F573B429E3AB872EAAA6</key> | ||
<dict> | ||
<key>primary</key> | ||
<true/> | ||
</dict> | ||
</dict> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"_generator":"wav2json version 0.2 on Linux (http://goo.gl/af7wg)", | ||
"left":[0,0.5,0.87,1,0.87,0.5,0,0.5,0.87,0,0.87,0.5], | ||
"right":[0,0.5,0.87,1,0.87,0.5,0,0.5,0.87,0,0.87,0.5], | ||
"mid":[0,0.5,0.87,1,0.87,0.5,0,0.5,0.87,0,0.87,0.5], | ||
"side":[0,0.5,0.87,1,0.87,0.5,0,0.5,0.87,0,0.87,0.5], | ||
"min":[0,0.5,0.87,1,0.87,0.5,0,0.5,0.87,0,0.87,0.5], | ||
"max":[0,0.5,0.87,1,0.87,0.5,0,0.5,0.87,0,0.87,0.5] | ||
"_generator":"wav2json version 0.2 on Darwin (http://goo.gl/af7wg)", | ||
"left":[0,0.5,0.87,1,0.87,0.5,0,0.5,0.87,1,0.87,0.5], | ||
"right":[0,0.5,0.87,1,0.87,0.5,0,0.5,0.87,1,0.87,0.5], | ||
"mid":[0,0.5,0.87,1,0.87,0.5,0,0.5,0.87,1,0.87,0.5], | ||
"side":[0,0.5,0.87,1,0.87,0.5,0,0.5,0.87,1,0.87,0.5], | ||
"min":[0,0.5,0.87,1,0.87,0.5,0,0.5,0.87,1,0.87,0.5], | ||
"max":[0,0.5,0.87,1,0.87,0.5,0,0.5,0.87,1,0.87,0.5] | ||
} |
Oops, something went wrong.