-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
I noticed that I didn't push the native dylibs in my PR #148
Currently when trying to build using
./gradlew buildNativeLibraries
It throws an error
> Task :mediaplayer:buildNativeMacX64 FAILED
mediaplayer/src/jvmMain/kotlin/io/github/kdroidfilter/composemediaplayer/mac/native/NativeVideoPlayer.swift:1075:97: error: cannot convert value of type 'Unmanaged<MTAudioProcessingTap>?' to expected argument type 'MTAudioProcessingTap?'
1073 | // Create the audio processing tap
1074 | let status = MTAudioProcessingTapCreate(
1075 | kCFAllocatorDefault, &callbacks, kMTAudioProcessingTapCreationFlag_PostEffects, &tap
| |- error: cannot convert value of type 'Unmanaged<MTAudioProcessingTap>?' to expected argument type 'MTAudioProcessingTap?'
| - note: arguments to generic parameter 'Wrapped' ('Unmanaged<MTAudioProcessingTap>' and 'MTAudioProcessingTap') are expected to be equal
1076 | )
1077 | if status == noErr, let tap = tap {
Related to these lines in NativeVideoPlayer.swift
var tap: Unmanaged<MTAudioProcessingTap>?
// Create the audio processing tap
let status = MTAudioProcessingTapCreate(
kCFAllocatorDefault, &callbacks, kMTAudioProcessingTapCreationFlag_PostEffects, &tap
)
Not sure if there is an issue on my end or not.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels