-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
eagleychen
committed
Jan 24, 2024
1 parent
e7f67f2
commit 228db92
Showing
5 changed files
with
82 additions
and
0 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
Binary file not shown.
23 changes: 23 additions & 0 deletions
23
Source/GVoiceSE-iOS/GVoiceSEiOS.framework/Headers/GVoiceSE.h
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,23 @@ | ||
// | ||
// GVoiceSEiOS.h | ||
// GVoiceSEiOS | ||
// | ||
// Created by Eagle Chan on 2024/1/23. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
//! Project version number for GVoiceSEiOS. | ||
FOUNDATION_EXPORT double GVoiceSEiOSVersionNumber; | ||
|
||
//! Project version string for GVoiceSEiOS. | ||
FOUNDATION_EXPORT const unsigned char GVoiceSEiOSVersionString[]; | ||
|
||
// In this header, you should import all the public headers of your framework using statements like #import <GVoiceSEiOS/PublicHeader.h> | ||
|
||
|
||
@interface GVoiceSE : NSObject | ||
//model_path 传入模型文件路径 | ||
+ (int)voice_handle_open:(const char*)model_path; //返回-1初始化错误,0成功 | ||
+ (void)voice_handle_process:(char *)pcmlocal ref:(char *)pcmref; | ||
@end |
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,34 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'TIoTLinkKit_GVoiceSE' | ||
s.version = ENV['LIB_VERSION'] || '1.0.0' | ||
s.summary = '该仓库为方便个人仓库构建使用,如有其他需求还请从官网下载原SDK' | ||
|
||
s.description = <<-DESC | ||
在CI构建中,有些SDK没有提供供方便pod集成使用,在此仓库提供个聚合SDK以便更好的支持CI。 | ||
DESC | ||
|
||
s.homepage = 'https://github.com/tencentyun/iot-thirdparty-ios' | ||
s.license = { :type => 'MIT', :file => 'LICENSE' } | ||
s.author = { '[email protected]' => '[email protected]' } | ||
s.source = { :git => 'https://github.com/tencentyun/iot-thirdparty-ios.git', :tag => s.version.to_s } | ||
|
||
s.ios.deployment_target = '9.0' | ||
# s.pod_target_xcconfig = { 'OTHER_LDFLAGS' => '-all_load' } | ||
# s.static_framework = true | ||
|
||
# s.source_files = 'Source/SoundTouch-iOS/Classes/**/*' | ||
# s.vendored_libraries = 'Source/SoundTouch-iOS/*.a' | ||
s.vendored_frameworks = 'Source/GVoiceSE-iOS/GVoiceSEiOS.framework' | ||
# s.frameworks = "NetworkExtension", "CoreGraphics", "SystemConfiguration", "Foundation", "UIKit" | ||
# s.libraries = 'c++', 'sqlite3', 'z' | ||
|
||
s.user_target_xcconfig = { | ||
'GENERATE_INFOPLIST_FILE' => 'YES', | ||
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' | ||
} | ||
|
||
s.pod_target_xcconfig = { | ||
'GENERATE_INFOPLIST_FILE' => 'YES', | ||
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' | ||
} | ||
end |