Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Just noise...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Just noise...



on 22/7/01 1:17 AM, Emil Edeholt wrote:

> aNt wrote:
>> Emil
>>
>> why use a the SndHandle directly to play a sound file ? why not just use a
>> QTPlayer and pass it the Audio file. If u need to get information from the
>> sound data u can by getting the SoundMediaHandler from the QTPlayer.
>
> Because I need multiple tracks, and QTPlayer won't let me play the
> same sound in multiple tracks. Or am I missing your point?

No - but the Sound Manager has the SAME limitation. SM can mix multiple
sources, but each of those sources can at most be stereo and it will only
mix to stereo. QT uses the SM to play sound, thus has this limitation
inherited from it.

There was an ability on OS 9 with sound sprockets to do some kind of 3D
stuff - but this isn't on X (or Win).

If you're doing multichannel stuff, then you should use Core Audio on X (X
only). It also publishes a java API and a has its own email list
(CoreAudio-API) at lists.apple.com if that's of interest

Bill

>> if u want the code to play any media that QuickTime can handle I can post it
>> up. or are u trying to do something else?
>
> I'm just trying to play an aiff. When I do this in C++ I just
> sndHandle = (SndHandle)GetResource('snd ',resID);
>
> Best Regards Emil
> ps.
> I know very little about audio programming and aiff, so I might miss
> something obvious.
> ds.
> _______________________________________________
> quicktime-java mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/quicktime-java


mailto:email@hidden
tel: +1 408 974 4056
__________________________________________________________________________
Cat: "Leave me alone, I'm trying to nap... Ah, What's that clicking noise?"
__________________________________________________________________________


References: 
 >Re: Just noise... (From: Emil Edeholt <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.