syedhali/AudioStreamer

Cannot convert value of type '(UnsafeMutableRawPointer, UInt32, UInt32, UnsafeRawPointer,

Opened this issue · 8 comments

image
Cannot convert value of type '(UnsafeMutableRawPointer, UInt32, UInt32, UnsafeRawPointer, UnsafeMutablePointer) -> ()' to expected argument type 'AudioFileStream_PacketsProc' (aka '@convention(c) (UnsafeMutableRawPointer, UInt32, UInt32, UnsafeRawPointer, Optional<UnsafeMutablePointer>) -> ()')

bytesPerPacket

same error ! but this solution is not work for me !

bytesPerPacket

same error ! but this solution is not work for me !

can you clarify with a screenshot?

bytesPerPacket

same error ! but this solution is not work for me !

can you clarify with a screenshot?

💻 Environment

  • iOS Version: [13.6]

  • Xcode Version: [12.2]

  • Device(s): [iPad Pro]

  • Simulator?:

image
image

Sorry this is beyond me. I cannot help you with this. What version of swift are you using; seeing that you have xcode 10.2

On Mon, Nov 23, 2020 at 8:49 PM 橘子味的小菜 @.***> wrote: bytesPerPacket same error ! but this solution is not work for me ! can you clarify with a screenshot? 💻 Environment - iOS Version: [12.2] - Xcode Version: [10.2.1] - Device(s): [iPad Pro] - Simulator?: [image: image] https://user-images.githubusercontent.com/16773862/100035698-c64ed200-2e39-11eb-88ee-e442bbd49af9.png [image: image] https://user-images.githubusercontent.com/16773862/100035714-cbac1c80-2e39-11eb-9478-cb5fe95ef401.png — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#16 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADHE4ZIQ436FUJKJSSXFRHLSRMGJLANCNFSM4TV43SZQ .

I'm using Xcode 12.2 now...

Sorry about this. I somehow pasted the wrong code above. I updated the code now. Please try again.

its bizarre but the pasted code keeps removing stuff. I am confused. I am attaching the file here.
Screen Shot 2020-11-24 at 11 23 33 AM

Issue fixed and pull request generated.
code - https://github.com/varun-naharia/AudioStreamer
pull request - #18

@nanshaki Cool ! Thank you so much !!!