react-native-audio-api 0.8.3-nightly-78fe1dc-20250921 → 0.8.3-nightly-73cf39b-20250923
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/RNAudioAPI.podspec +20 -9
- package/package.json +1 -1
package/RNAudioAPI.podspec
CHANGED
|
@@ -20,12 +20,12 @@ Pod::Spec.new do |s|
|
|
|
20
20
|
s.source = { :git => "https://github.com/software-mansion/react-native-audio-api.git", :tag => "#{s.version}" }
|
|
21
21
|
|
|
22
22
|
s.subspec "audioapi" do |ss|
|
|
23
|
-
ss.source_files = "common/cpp/audioapi/**/*.{cpp,c,h}"
|
|
23
|
+
ss.source_files = "common/cpp/audioapi/**/*.{cpp,c,h,hpp}"
|
|
24
24
|
ss.header_dir = "audioapi"
|
|
25
25
|
ss.header_mappings_dir = "common/cpp/audioapi"
|
|
26
26
|
|
|
27
27
|
ss.subspec "ios" do |sss|
|
|
28
|
-
sss.source_files = "ios/audioapi/**/*.{mm,h,m}"
|
|
28
|
+
sss.source_files = "ios/audioapi/**/*.{mm,h,m,hpp}"
|
|
29
29
|
sss.header_dir = "audioapi"
|
|
30
30
|
sss.header_mappings_dir = "ios/audioapi"
|
|
31
31
|
end
|
|
@@ -42,8 +42,10 @@ Pod::Spec.new do |s|
|
|
|
42
42
|
# Assumes Pods dir is nested under ios project dir
|
|
43
43
|
ios_dir = File.join(Pod::Config.instance.project_pods_root, '..')
|
|
44
44
|
rn_audio_dir_relative = Pathname.new(__dir__).relative_path_from(ios_dir).to_s
|
|
45
|
-
|
|
46
|
-
lib_dir = "$(PROJECT_DIR)/#{rn_audio_dir_relative}/#{
|
|
45
|
+
external_dir_relative = "common/cpp/audioapi/external"
|
|
46
|
+
lib_dir = "$(PROJECT_DIR)/#{rn_audio_dir_relative}/#{external_dir_relative}/$(PLATFORM_NAME)"
|
|
47
|
+
|
|
48
|
+
external_dir = File.join(__dir__, "common/cpp/audioapi/external")
|
|
47
49
|
|
|
48
50
|
s.ios.vendored_frameworks = [
|
|
49
51
|
'common/cpp/audioapi/external/libavcodec.xcframework',
|
|
@@ -59,10 +61,10 @@ s.pod_target_xcconfig = {
|
|
|
59
61
|
"HEADER_SEARCH_PATHS" => %W[
|
|
60
62
|
$(PODS_TARGET_SRCROOT)/common/cpp
|
|
61
63
|
$(PODS_TARGET_SRCROOT)/ios
|
|
62
|
-
$(PODS_TARGET_SRCROOT)/#{
|
|
63
|
-
$(PODS_TARGET_SRCROOT)/#{
|
|
64
|
-
$(PODS_TARGET_SRCROOT)/#{
|
|
65
|
-
$(PODS_TARGET_SRCROOT)/
|
|
64
|
+
$(PODS_TARGET_SRCROOT)/#{external_dir_relative}/include
|
|
65
|
+
$(PODS_TARGET_SRCROOT)/#{external_dir_relative}/include/opus
|
|
66
|
+
$(PODS_TARGET_SRCROOT)/#{external_dir_relative}/include/vorbis
|
|
67
|
+
$(PODS_TARGET_SRCROOT)/#{external_dir_relative}/ffmpeg_include
|
|
66
68
|
].join(" "),
|
|
67
69
|
'OTHER_CFLAGS' => "$(inherited) #{folly_flags} #{fabric_flags} #{version_flag}"
|
|
68
70
|
}
|
|
@@ -76,7 +78,16 @@ s.user_target_xcconfig = {
|
|
|
76
78
|
-force_load #{lib_dir}/libvorbis.a
|
|
77
79
|
-force_load #{lib_dir}/libvorbisenc.a
|
|
78
80
|
-force_load #{lib_dir}/libvorbisfile.a
|
|
79
|
-
].join(" ")
|
|
81
|
+
].join(" "),
|
|
82
|
+
'HEADER_SEARCH_PATHS' => %W[
|
|
83
|
+
$(inherited)
|
|
84
|
+
$(PODS_ROOT)/Headers/Public/RNAudioAPI
|
|
85
|
+
$(PODS_TARGET_SRCROOT)/common/cpp
|
|
86
|
+
#{external_dir}/include
|
|
87
|
+
#{external_dir}/include/opus
|
|
88
|
+
#{external_dir}/include/vorbis
|
|
89
|
+
#{external_dir}/ffmpeg_include
|
|
90
|
+
].join(' ')
|
|
80
91
|
}
|
|
81
92
|
# Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
|
|
82
93
|
# See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-audio-api",
|
|
3
|
-
"version": "0.8.3-nightly-
|
|
3
|
+
"version": "0.8.3-nightly-73cf39b-20250923",
|
|
4
4
|
"description": "react-native-audio-api provides system for controlling audio in React Native environment compatible with Web Audio API specification",
|
|
5
5
|
"bin": {
|
|
6
6
|
"setup-rn-audio-api-web": "./scripts/setup-rn-audio-api-web.js"
|