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: Change output device



In QuickTime 7 we do not use the Sound Manager to play audio, so 'sdev' components will not help you. If you just want to get at the audio data of a movie as PCM, your best bet is to use the MovieAudioExtraction API's. See Movies.h in the QuickTime 7 SDK for Windows. This suite of API's will let you pull PCM data from a movie and do whatever you like with it.

If you want to direct audio from a movie to a DirectSound playback device other than the default Windows one, you'll need to use the:

QTAudioContextCreateForDevice() + SetMovieAudioContext() calls. Again, see Movies.h.

-Brad Ford
QuickTime Engineering

On Oct 19, 2005, at 7:23 PM, LtSolo wrote:

    Hello,

thanks for your answer. Platform is MS Windows. QuickTime: 4 and 7 (latest).

   More general, I'm trying to forward all sounds from QuickTime to
special output device which gives me sound samples. If I can use more
simple and consistent approach please advice.

    Thank you again.
     Andrey.

On 10/20/05, Brad Ford <email@hidden> wrote:

What platform are you running?  What version of QuickTime are you
running?  The answer to the question depends on the answer to those
two questions.

-Brad Ford
QuickTime Engineering

On Oct 19, 2005, at 3:10 AM, LtSolo wrote:


   Hello everybody,

I want to change QuickTime output device in run time. Please let me
know how can I do this? I managed to enumerate audio output components
with FindNextComponent function and specifying kSoundOutputDeviceType
as a componentType. Now I want to select component as output for
QuickTime. Is it possbile?


Thanks,
Andrey
_______________________________________________
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







--
     Andrey


_______________________________________________ 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: 
 >Change output device (From: LtSolo <email@hidden>)
 >Re: Change output device (From: Brad Ford <email@hidden>)
 >Re: Change output device (From: LtSolo <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.