Re: What corresponds to kAudioDevicePropertyDeviceIsRunningSomewhere in an audio driver?
Re: What corresponds to kAudioDevicePropertyDeviceIsRunningSomewhere in an audio driver?
- Subject: Re: What corresponds to kAudioDevicePropertyDeviceIsRunningSomewhere in an audio driver?
- From: "Sean McBride" <email@hidden>
- Date: Mon, 26 May 2003 16:16:54 -0400
- Organization: Matrox Electronic Systems Ltd.
Jeff Moore (email@hidden) wrote on Fri, 23 May 2003 16:21:54 -0700:
>
QT is a funny beast.
You can say that again. :)
>
It needs to run the audio hardware as long as
>
there is an open movie with a sound track around so that it's clock can
>
update itself. So you would see a start, but probably not see the stop
>
until you close all the movies.
Actually I don't observe this at all. With PhantomAudioDriver and the
Built-in Apple driver I see start when starting a playback, and stop when
pausing a playback. With my own driver I see start when starting a
playback, but I don't see stop at all: not after pause, not after closing
the movie, not after quitting the app, and not after loging out.
>
I would do your testing with an app like Daisy (in
>
/Developer/Examples/CoreAudio/HAL/Daisy), where there is a direct
>
connection between hitting the buttons in the UI and the calls to the
>
driver.
I've just tried Daisy and, again, for PhantomAudioDriver and the Built-in
Apple driver I see start and stop as expected. For my driver I notice 2
strange things:
1) Audio does not playback at all! (but it works in QT Player, FCP,
iTunes, etc.)
2) the Daisy UI does not update the 'file name' and other fields after I
choose an AIFF file
Is this symptomatic of anything you've come across before? I'm presently
gutting my driver as much as possible to make it more like
PhantomAudioDriver, but so far no luck.
Thanks for any help!
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Mac Software Designer +1-514-822-6000
Matrox Electronic Systems Ltd. Montrial, Quibec, Canada
_______________________________________________
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.