-
-
Notifications
You must be signed in to change notification settings - Fork 693
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/swiftpm' into minor
- Loading branch information
Showing
72 changed files
with
205 additions
and
343 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
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,3 +1,7 @@ | ||
## 0.9.44 | ||
|
||
* Add support for SwiftPM. | ||
|
||
## 0.9.43 | ||
|
||
* Fix NPE in load on iOS/macOS. | ||
|
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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -4,18 +4,19 @@ | |
Pod::Spec.new do |s| | ||
s.name = 'just_audio' | ||
s.version = '0.0.1' | ||
s.summary = 'A new flutter plugin project.' | ||
s.summary = 'Flutter audio player' | ||
s.description = <<-DESC | ||
A new flutter plugin project. | ||
A flutter plugin for playing audio. | ||
DESC | ||
s.homepage = 'http://example.com' | ||
s.homepage = 'https://github.com/ryanheise/just_audio' | ||
s.license = { :file => '../LICENSE' } | ||
s.author = { 'Your Company' => '[email protected]' } | ||
s.source = { :path => '.' } | ||
s.source_files = 'Classes/**/*' | ||
s.public_header_files = 'Classes/**/*.h' | ||
s.dependency 'FlutterMacOS' | ||
s.platform = :osx, '10.12.2' | ||
s.source_files = 'just_audio/Sources/just_audio/**/*.{h,m}' | ||
s.public_header_files = 'just_audio/Sources/just_audio/include/**/*.h' | ||
s.ios.dependency 'Flutter' | ||
s.osx.dependency 'FlutterMacOS' | ||
s.ios.deployment_target = '12.0' | ||
s.osx.deployment_target = '10.14' | ||
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } | ||
end | ||
|
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,25 @@ | ||
// swift-tools-version: 5.9 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "just_audio", | ||
platforms: [ | ||
.iOS("12.0"), | ||
.macOS("10.14") | ||
], | ||
products: [ | ||
.library(name: "just-audio", targets: ["just_audio"]) | ||
], | ||
dependencies: [], | ||
targets: [ | ||
.target( | ||
name: "just_audio", | ||
dependencies: [], | ||
cSettings: [ | ||
.headerSearchPath("include/just_audio") | ||
] | ||
) | ||
] | ||
) |
18 changes: 9 additions & 9 deletions
18
just_audio/darwin/Classes/AudioPlayer.m → ...st_audio/Sources/just_audio/AudioPlayer.m
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
2 changes: 1 addition & 1 deletion
2
just_audio/darwin/Classes/AudioSource.m → ...st_audio/Sources/just_audio/AudioSource.m
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
2 changes: 1 addition & 1 deletion
2
...audio/darwin/Classes/BetterEventChannel.m → ...o/Sources/just_audio/BetterEventChannel.m
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
8 changes: 4 additions & 4 deletions
8
...udio/darwin/Classes/ClippingAudioSource.m → .../Sources/just_audio/ClippingAudioSource.m
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
4 changes: 2 additions & 2 deletions
4
...darwin/Classes/ConcatenatingAudioSource.m → ...ces/just_audio/ConcatenatingAudioSource.m
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
4 changes: 2 additions & 2 deletions
4
...audio/darwin/Classes/IndexedAudioSource.m → ...o/Sources/just_audio/IndexedAudioSource.m
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
6 changes: 6 additions & 0 deletions
6
just_audio/darwin/just_audio/Sources/just_audio/IndexedPlayerItem.m
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,6 @@ | ||
#import "./include/just_audio/IndexedPlayerItem.h" | ||
#import "./include/just_audio/IndexedAudioSource.h" | ||
|
||
@implementation IndexedPlayerItem | ||
@synthesize audioSource; | ||
@end |
4 changes: 2 additions & 2 deletions
4
just_audio/darwin/Classes/JustAudioPlugin.m → ...udio/Sources/just_audio/JustAudioPlugin.m
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
2 changes: 1 addition & 1 deletion
2
just_audio/darwin/Classes/LoadControl.m → ...st_audio/Sources/just_audio/LoadControl.m
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
4 changes: 2 additions & 2 deletions
4
...audio/darwin/Classes/LoopingAudioSource.m → ...o/Sources/just_audio/LoopingAudioSource.m
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
8 changes: 4 additions & 4 deletions
8
just_audio/darwin/Classes/UriAudioSource.m → ...audio/Sources/just_audio/UriAudioSource.m
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
4 changes: 4 additions & 0 deletions
4
just_audio/macos/Classes/AudioPlayer.h → ...st_audio/include/just_audio/AudioPlayer.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
4 changes: 4 additions & 0 deletions
4
just_audio/macos/Classes/AudioSource.h → ...st_audio/include/just_audio/AudioSource.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
4 changes: 4 additions & 0 deletions
4
..._audio/macos/Classes/BetterEventChannel.h → ...o/include/just_audio/BetterEventChannel.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
4 changes: 4 additions & 0 deletions
4
...audio/macos/Classes/ClippingAudioSource.h → .../include/just_audio/ClippingAudioSource.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
4 changes: 4 additions & 0 deletions
4
.../macos/Classes/ConcatenatingAudioSource.h → ...ude/just_audio/ConcatenatingAudioSource.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
4 changes: 4 additions & 0 deletions
4
..._audio/macos/Classes/IndexedAudioSource.h → ...o/include/just_audio/IndexedAudioSource.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
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
just_audio/macos/Classes/JustAudioPlugin.h → ...udio/include/just_audio/JustAudioPlugin.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 |
---|---|---|
@@ -1,4 +1,8 @@ | ||
#if TARGET_OS_OSX | ||
#import <FlutterMacOS/FlutterMacOS.h> | ||
#else | ||
#import <Flutter/Flutter.h> | ||
#endif | ||
|
||
@interface JustAudioPlugin : NSObject<FlutterPlugin> | ||
@end |
2 changes: 2 additions & 0 deletions
2
just_audio/macos/Classes/LoadControl.h → ...st_audio/include/just_audio/LoadControl.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
4 changes: 4 additions & 0 deletions
4
..._audio/macos/Classes/LoopingAudioSource.h → ...o/include/just_audio/LoopingAudioSource.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
4 changes: 4 additions & 0 deletions
4
just_audio/macos/Classes/UriAudioSource.h → ...audio/include/just_audio/UriAudioSource.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
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
Oops, something went wrong.