• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AudioConverter IOProcs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioConverter IOProcs


  • Subject: Re: AudioConverter IOProcs
  • From: Philippe Wicker <email@hidden>
  • Date: Sun, 4 Apr 2004 10:04:57 +0200

On Apr 4, 2004, at 8:46 AM, kante easley wrote:

I hope this is an appropriate question for the list:

It is :)


Using project builder, my program runs through with no problems in debug mode. When build and run (not debugging) I get a memory error (signal 11 (SIGSEGV)).

Do you mean that you compiled your code without -g flag? If yes, try to compile it with this flag set (it adds debug info wether the generated machine code is optimized or not) and launch your program under gdb, it should show you where the SIGSEGV occurs. If your program is not launched under gdb, you may also have a look to the log trace, it tells you in which thread and which function call this signal occured.

If you mean that the same code compiled with the same C flags works well under debugger, and crashes when it runs by itself, then this may be a pointer badly initialized which "luckily" points within your app address space in the first case (under gdb), and outside in the second case (running by itself). Using the log trace could give a help.


I believe that the error has something to do with my input IOProc used in multiple calls to AudioConverterFillComplexBuffer.

What do you mean by "multiple calls to AudioConverterFillComplexBuffer"?


I can't pinpoint the error any further because it doesn't happen in debug mode. Might this have something to do with the Add_Load_To_IOProc preprocessor directive In Daisy's IOprocs?

I'm just looking for a pointer to where I find out about this stuff. Thanks in advance.

Kante Easley
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.


Philippe Wicker
email@hidden
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: AudioConverter IOProcs
      • From: kante easley <email@hidden>
References: 
 >AudioConverter IOProcs (From: kante easley <email@hidden>)

  • Prev by Date: AudioConverter IOProcs
  • Next by Date: Variable IO in AU?
  • Previous by thread: AudioConverter IOProcs
  • Next by thread: Re: AudioConverter IOProcs
  • Index(es):
    • Date
    • Thread