• 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: crashing in calls to AudioConverter on 10.3.9
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: crashing in calls to AudioConverter on 10.3.9


  • Subject: Re: crashing in calls to AudioConverter on 10.3.9
  • From: William Stewart <email@hidden>
  • Date: Tue, 28 Mar 2006 14:39:50 -0800

OK...

So, the SRC crash that you posted below has been tracked down to we think a problem with the input that you are providing. It would appear that the number of channels of audio data you are providing in the ABL from your input callback is different than we're expecting - so in the cases below, the input callback should be providing buffers configured as:

On 27/03/2006, at 8:27 PM, Christopher Ashworth wrote:


On Mar 27, 2006, at 10:12 PM, William Stewart wrote:
What are the other threads doing in the crash log? If this is a threading problem, then just looking at the thread that is crashed is not going to help you. What is the topology of the converters - do a CAShow on this converter (just so we can see what conversion operation it is doing).


Okay, here's some sample output from CAShow, on several different converters that were in use during a crash:


AudioConverter: @530ADA0
AudioConverter PCMConverter 0x530AEC0
Input: 2 ch, 44100 Hz, 'lpcm' (0x0000000C) 16-bit little- endian signed integer
Output: 2 ch, 44100 Hz, 'lpcm' (0x0000000B) 32-bit big- endian float
AudioConverter Reinterleaver 0x530AFA0
Input: 2 ch, 44100 Hz, 'lpcm' (0x0000000B) 32-bit big- endian float
Output: 2 ch, 44100 Hz, 'lpcm' (0x0000002B) 32-bit big- endian float, deinterleaved
Channel map: 0 1

1 Input buffer of 2 channels of interleaved, 16bit little endian signed int.



AudioConverter: @3CCAC0
AudioConverter CodecConverter 0x3CCC80
Input: 2 ch, 44100 Hz, '.mp3' (0x00000000) 0 bits/channel, 0 bytes/packet, 1152 frames/packet, 0 bytes/frame
Output: 2 ch, 44100 Hz, 'lpcm' (0x0000000B) 32-bit big- endian float
AudioConverter Reinterleaver 0x5343040
Input: 2 ch, 44100 Hz, 'lpcm' (0x0000000B) 32-bit big- endian float
Output: 2 ch, 44100 Hz, 'lpcm' (0x0000002B) 32-bit big- endian float, deinterleaved
Channel map: 0 1

I input buffer of MP3 packets

AudioConverter: @5340030
AudioConverter PCMConverter 0x5340110
Input: 1 ch, 11025 Hz, 'lpcm' (0x00000008) 8-bit unsigned integer
Output: 1 ch, 11025 Hz, 'lpcm' (0x0000000B) 32-bit big- endian float
AudioConverter SampleRateConverter 0x53401D0
Input: 1 ch, 11025 Hz, 'lpcm' (0x0000000B) 32-bit big- endian float
Output: 1 ch, 44100 Hz, 'lpcm' (0x0000000B) 32-bit big- endian float



That last converter was in use when the following crash log was generated:

1 buffer of 1 channel of 8 bit unsigned integer

So, please check that your input ABL is of the same format as the source format you use to create the converter with.

Thanks

Bill

--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: crashing in calls to AudioConverter on 10.3.9
      • From: Christopher Ashworth <email@hidden>
References: 
 >crashing in calls to AudioConverter on 10.3.9 (From: Christopher Ashworth <email@hidden>)
 >Re: crashing in calls to AudioConverter on 10.3.9 (From: William Stewart <email@hidden>)
 >Re: crashing in calls to AudioConverter on 10.3.9 (From: Christopher Ashworth <email@hidden>)
 >Re: crashing in calls to AudioConverter on 10.3.9 (From: Christopher Ashworth <email@hidden>)
 >Re: crashing in calls to AudioConverter on 10.3.9 (From: William Stewart <email@hidden>)
 >Re: crashing in calls to AudioConverter on 10.3.9 (From: Christopher Ashworth <email@hidden>)
 >Re: crashing in calls to AudioConverter on 10.3.9 (From: William Stewart <email@hidden>)
 >Re: crashing in calls to AudioConverter on 10.3.9 (From: Christopher Ashworth <email@hidden>)

  • Prev by Date: Re: Another approach to root user?
  • Next by Date: Re: Another approach to root user?
  • Previous by thread: Re: crashing in calls to AudioConverter on 10.3.9
  • Next by thread: Re: crashing in calls to AudioConverter on 10.3.9
  • Index(es):
    • Date
    • Thread