AudioStreamer icon indicating copy to clipboard operation
AudioStreamer copied to clipboard

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

Open jiazufei1 opened this issue 5 years ago • 8 comments

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

jiazufei1 avatar Nov 15 '20 02:11 jiazufei1

bytesPerPacket

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

HideOnBushTuT avatar Nov 23 '20 03:11 HideOnBushTuT

bytesPerPacket

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

can you clarify with a screenshot?

nanshaki avatar Nov 23 '20 14:11 nanshaki

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

HideOnBushTuT avatar Nov 24 '20 01:11 HideOnBushTuT

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 橘子味的小菜 [email protected] 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 https://github.com/syedhali/AudioStreamer/issues/16#issuecomment-732533875, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADHE4ZIQ436FUJKJSSXFRHLSRMGJLANCNFSM4TV43SZQ .

nanshaki avatar Nov 24 '20 02:11 nanshaki

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

HideOnBushTuT avatar Nov 24 '20 02:11 HideOnBushTuT

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

nanshaki avatar Nov 24 '20 16:11 nanshaki

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

varun-naharia avatar Nov 26 '20 06:11 varun-naharia

@nanshaki Cool ! Thank you so much !!!

HideOnBushTuT avatar Nov 30 '20 03:11 HideOnBushTuT