This commit is contained in:
Saturneic 2018-12-26 15:07:19 +08:00
parent 11c5b0d9e2
commit b8271ad6aa
28 changed files with 58 additions and 3 deletions

View File

@ -0,0 +1,8 @@
<?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>com.apple.security.get-task-allow</key>
<true/>
</dict>
</plist>

View File

@ -0,0 +1,4 @@
dependencies: /Users/huyibing/Documents/Xcode/Fields/src/fields.cpp \
/Users/huyibing/Documents/Xcode/Fields/include/fields.hpp \
/Users/huyibing/Documents/Xcode/Fields/include/type.hpp \
/Users/huyibing/Documents/Xcode/Fields/include/graphs.hpp

View File

@ -0,0 +1,6 @@
dependencies: /Users/huyibing/Documents/Xcode/Fields/src/graphs.cpp \
/Users/huyibing/Documents/Xcode/Fields/include/graphs.hpp \
/Users/huyibing/Documents/Xcode/Fields/include/type.hpp \
/Users/huyibing/Documents/Xcode/Fields/include/fields.hpp \
/Users/huyibing/Documents/Xcode/Fields/include/wav.hpp \
/Users/huyibing/Documents/Xcode/Fields/include/hsv.hpp

View File

@ -0,0 +1,4 @@
dependencies: /Users/huyibing/Documents/Xcode/Fields/src/hsv.cpp \
/Users/huyibing/Documents/Xcode/Fields/include/type.hpp \
/Users/huyibing/Documents/Xcode/Fields/include/graphs.hpp \
/Users/huyibing/Documents/Xcode/Fields/include/hsv.hpp

View File

@ -0,0 +1,6 @@
dependencies: /Users/huyibing/Documents/Xcode/Fields/unix/main.cpp \
/Users/huyibing/Documents/Xcode/Fields/include/type.hpp \
/Users/huyibing/Documents/Xcode/Fields/include/graphs.hpp \
/Users/huyibing/Documents/Xcode/Fields/include/fields.hpp \
/Users/huyibing/Documents/Xcode/Fields/include/wav.hpp \
/Users/huyibing/Documents/Xcode/Fields/include/hsv.hpp

View File

@ -0,0 +1,5 @@
/Users/huyibing/Documents/Xcode/Fields/bin/Debug/music-field.build/Objects-normal/x86_64/graphs.o
/Users/huyibing/Documents/Xcode/Fields/bin/Debug/music-field.build/Objects-normal/x86_64/hsv.o
/Users/huyibing/Documents/Xcode/Fields/bin/Debug/music-field.build/Objects-normal/x86_64/fields.o
/Users/huyibing/Documents/Xcode/Fields/bin/Debug/music-field.build/Objects-normal/x86_64/main.o
/Users/huyibing/Documents/Xcode/Fields/bin/Debug/music-field.build/Objects-normal/x86_64/wav.o

View File

@ -0,0 +1,5 @@
dependencies: /Users/huyibing/Documents/Xcode/Fields/src/wav.cpp \
/Users/huyibing/Documents/Xcode/Fields/include/wav.hpp \
/Users/huyibing/Documents/Xcode/Fields/include/type.hpp \
/Users/huyibing/Documents/Xcode/Fields/include/graphs.hpp \
/Users/huyibing/Documents/Xcode/Fields/include/hsv.hpp

View File

@ -0,0 +1,7 @@
{
'version': 0,
'case-sensitive': 'false',
'roots': [
]
}

Binary file not shown.

View File

@ -0,0 +1,8 @@
<?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>com.apple.security.get-task-allow</key>
<true/>
</dict>
</plist>

View File

@ -103,7 +103,7 @@ public:
class Bar:public View2D {
public:
Bar(Point, GLint width){
Shape *p_shape = new Shape();
//Shape *p_shape = new Shape();
}
};

View File

@ -261,8 +261,10 @@ public:
struct process m_pss;
WAV(string path):active(false),if_fmt(false){
fp = fopen(path.data(), "rb");
if(fp == NULL) throw -1;
if(fp == NULL){
printf("Can't open target file.\n");
throw -1;
}
do{
fread(&this->info, 1, sizeof(struct CHUNK_INFO), fp);
char *p_id = (char *)(&info.ChunkID);