Re: API selection
Re: API selection
- Subject: Re: API selection
- From: William Stewart <email@hidden>
- Date: Wed, 7 Jun 2006 11:54:39 -0700
On 07/06/2006, at 3:56 AM, Andrew Onofreytchuk wrote:
Hi William,
Thank you for your response.
I have looked at examples with OpenAL and think this library meets
almost all my needs...
The only thing I could not grasp with OpenAL so far is - if this
library has means to play streaming of sound buffers constantly
changing its content (for example, music,
which is being rendered into buffer while being played),
Sure - the API is a buffer playback API - how you fill those buffers
and manage them is your choice. The example we provide is reading a
file from disk, but you can just generate audio for these of course.
One more question: what about MIDI-files play? Will I have to use
Core Audio/QuickTime, or there are alternatives?
CA - have a look at the PlaySoftMIDI and PlaySequence examples in our
SDK (/Developer/Examples/CoreAudio)
Bill
On Jun 7, 2006, at 1:46 AM, William Stewart wrote:
OpenAL - at least for the audio sounds. Many games use this, and
its built in with Tiger and uses CoreAudio services directly. If
you need to ship to previous than Tiger systems you can get the
source or a binary at openal.org and ship this as an embedded
framework in your game (that is what many companies are doing). In
the tiger /Developer/Examples/CoreAudio there's some example code
of how to use OpenAL
Bill
On 06/06/2006, at 1:55 AM, Andrew Onofreytchuk wrote:
Hi!
I am creating a game application and could not select an API. I
have chosen Core Audio… My application is to load into memory
10-20 minor sounds (length - 2-3 sec.,
stereo, 22-44 kHz) and play some of them, sometimes 2-3 sounds
simultaneously… I also plan to use MIDI format to play music…
Please advise which API should be selected for easy realization
of the task. _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
This email sent to email@hidden
--
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
--
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