Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WackedTV Code crashing



Thanks Brad,

I'll have another thorough look at the code and I'm make sure I'm setting up the audio channel correctly. If I still can't figure out where I'm going wrong I'll get back to the list.

By other context I mean: I require some of the functionality of the sequence grabber, audio channel and associated audio settings panel. However, I need that panel in my own window. So I've moved the settings interface items to a custom view and pointed the SGAudioSettings at those interface items. Then, rather than showing the window to change the settings, I grab the view and add it to the window I already have available.

Doing this, I've done away with a number of settings that I don't need, ie the input's physical format, output format, effects. As I've made my modifications, I've tried to ensure that I use the default values wherever the user would have made a selection. What I was wondering is if maybe I've done away with a setting that is crucial to the functioning of the audio channel and the sequence grabber, and then naturally, if the crash report might give a hint as to what that setting would be.

-Phil
http://phildow.net

On 23.08.2005, at 22:29, Brad Ford wrote:

Hi Phil,
There's not enough information here. It's likely the "using some code ... in another context" part that has the greatest bearing on the current crash. I've not seen this crash log in any app that uses Sequence Grabber. So you'll probably need to share code (feel free to do this by way of a formal bug report at bugreport.apple.com). If we can't reproduce it, we can't fix it (or tell you how to fix your code).


Thanks.
-Brad Ford
QuickTime Engineering

On Aug 22, 2005, at 5:53 AM, Philip Dow wrote:


Hi all,

I am attempting to use some of the code provided by wackedtv in another context. I only require the audio portion, and I've integrated the elements from the whackedtv example that I need. However, every once in a while apparently at random, upon starting up the recording I come across a crash (report clipping follows). This occurs only when I begin recording, never during or when ending the recording. Any ideas? Notes: I initialized my objects just as whakedtv does, playthru is disabled, the audio output device is set to built-in audio.

-Phil

Thread 3 Crashed:
0 ...pple.audio.units.Components 0x99f79708 DefaultOutputAUEntry + 2992
1 ...pple.audio.units.Components 0x99f7c0e4 DefaultOutputAUEntry + 13708
2 ...pple.audio.units.Components 0x9a0580a8 dyld_stub__keymgr_get_and_lock_processwide_ptr + 88232
3 ...ple.CoreServices.CarbonCore 0x90b51ff0 CallComponent + 260
4 ...apple.audio.units.AudioUnit 0x94179cc4 AudioUnitRender + 56
5 ...ickTimeComponents.component 0x98b92b44 sgAudioACInputDataProc + 476
6 ....audio.toolbox.AudioToolbox 0x94065e78 AudioConverterChain::CallInputProc(unsigned long) + 332
7 ....audio.toolbox.AudioToolbox 0x94065ac8 AudioConverterChain::FillBufferFromInputProc(unsigned long*, unsigned long*, CABufferList*) + 128
8 ....audio.toolbox.AudioToolbox 0x94065290 BufferedAudioConverter::GetInputBytes(unsigned long, unsigned long&, CABufferList const*&) + 212
9 ....audio.toolbox.AudioToolbox 0x940650e8 CBRConverter::RenderOutput(CABufferList*, unsigned long, unsigned long&, AudioStreamPacketDescription*) + 132
10 ....audio.toolbox.AudioToolbox 0x94064e5c BufferedAudioConverter::FillBuffer(unsigned long&, AudioBufferList&, AudioStreamPacketDescription*) + 292
11 ....audio.toolbox.AudioToolbox 0x94065268 BufferedAudioConverter::GetInputBytes(unsigned long, unsigned long&, CABufferList const*&) + 172
12 ....audio.toolbox.AudioToolbox 0x940650e8 CBRConverter::RenderOutput(CABufferList*, unsigned long, unsigned long&, AudioStreamPacketDescription*) + 132
13 ....audio.toolbox.AudioToolbox 0x94064e5c BufferedAudioConverter::FillBuffer(unsigned long&, AudioBufferList&, AudioStreamPacketDescription*) + 292
14 ....audio.toolbox.AudioToolbox 0x94064fd8 AudioConverterChain::RenderOutput(CABufferList*, unsigned long, unsigned long&, AudioStreamPacketDescription*) + 136
15 ....audio.toolbox.AudioToolbox 0x94064e5c BufferedAudioConverter::FillBuffer(unsigned long&, AudioBufferList&, AudioStreamPacketDescription*) + 292
16 ....audio.toolbox.AudioToolbox 0x94064ce8 AudioConverterFillComplexBuffer + 280
17 ...ickTimeComponents.component 0x98b925e4 _SGAudioPullAndProcessOneChannel + 144
18 ...ickTimeComponents.component 0x98b92518 sgAudioProcessingThreadEntryPoint + 148
19 ...ickTimeComponents.component 0x98b7df04 start_thread + 84
20 libSystem.B.dylib 0x9002c3d4 _pthread_body + 96




http://phildow.net

_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/bford% 40apple.com


This email sent to email@hidden





_______________________________________________ Do not post admin requests to the list. They will be ignored. QuickTime-API mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden
References: 
 >WackedTV Code crashing (From: Philip Dow <email@hidden>)
 >Re: WackedTV Code crashing (From: Brad Ford <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.