comparison ALmixer.h @ 40:2b0b55b7f8cf

Resync to get interruption changes.
author Eric Wing <ewing@anscamobile.com>
date Fri, 19 Aug 2011 12:36:50 -0700
parents 46e82b415520
children 05e5dc4817a4
comparison
equal deleted inserted replaced
39:c07dbd386ded 40:2b0b55b7f8cf
380 * (EXPERIMENTAL) Call to notify ALmixer that your device needs to resume from an interruption. 380 * (EXPERIMENTAL) Call to notify ALmixer that your device needs to resume from an interruption.
381 * (EXPERIMENTAL) For devices like iOS that need special handling for interruption events like phone calls and alarms, 381 * (EXPERIMENTAL) For devices like iOS that need special handling for interruption events like phone calls and alarms,
382 * this function will do the correct platform correct thing to resume from the interruption w.r.t. OpenAL. 382 * this function will do the correct platform correct thing to resume from the interruption w.r.t. OpenAL.
383 */ 383 */
384 extern ALMIXER_DECLSPEC void ALMIXER_CALL ALmixer_EndInterruption(void); 384 extern ALMIXER_DECLSPEC void ALMIXER_CALL ALmixer_EndInterruption(void);
385 385
386 /**
387 * (EXPERIMENTAL) Call to determine if in an interruption.
388 * (EXPERIMENTAL) For devices like iOS that need special handling for interruption events like phone calls and alarms,
389 * this function will do the correct platform correct thing to determine if in an interruption.
390 */
391 extern ALMIXER_DECLSPEC ALboolean ALmixer_IsInInterruption(void);
392
386 393
387 /** 394 /**
388 * This shuts down ALmixer. Please remember to free your ALmixer_Data* instances 395 * This shuts down ALmixer. Please remember to free your ALmixer_Data* instances
389 * before calling this method. 396 * before calling this method.
390 */ 397 */
490 497
491 /** 498 /**
492 * Specifies the maximum number of queue buffers to use for a sound stream. 499 * Specifies the maximum number of queue buffers to use for a sound stream.
493 * Default Queue Buffers must be at least 2. 500 * Default Queue Buffers must be at least 2.
494 */ 501 */
495 #define ALMIXER_DEFAULT_QUEUE_BUFFERS 5 502 #define ALMIXER_DEFAULT_QUEUE_BUFFERS 12
496 /** 503 /**
497 * Specifies the number of queue buffers initially filled when first loading a stream. 504 * Specifies the number of queue buffers initially filled when first loading a stream.
498 * Default startup buffers should be at least 1. */ 505 * Default startup buffers should be at least 1. */
499 #define ALMIXER_DEFAULT_STARTUP_BUFFERS 2 506 #define ALMIXER_DEFAULT_STARTUP_BUFFERS 2
500 507