Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jiazufei1 opened this issue Nov 15, 2020 · 8 comments

Comments

@jiazufei1
Copy link

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>) -> ()')

@HideOnBushTuT
Copy link

bytesPerPacket

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

@nanshaki
Copy link

bytesPerPacket

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

can you clarify with a screenshot?

@HideOnBushTuT
Copy link

HideOnBushTuT commented Nov 24, 2020

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

@nanshaki
Copy link

nanshaki commented Nov 24, 2020 via email

@HideOnBushTuT
Copy link

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...

@nanshaki
Copy link

nanshaki commented Nov 24, 2020

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

varun-naharia pushed a commit to varun-naharia/AudioStreamer that referenced this issue Nov 26, 2020
@varun-naharia
Copy link

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

@HideOnBushTuT
Copy link

@nanshaki Cool ! Thank you so much !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants