Changeset 27:87f2808d4c17 in roaraudio for include/libroar/basic.h


Ignore:
Timestamp:
06/21/08 13:32:31 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added prototype and some protection code for roar_get_vol()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/basic.h

    r8 r27  
    99#define LIBROAR_BUFFER_MSGDATA LIBROAR_BUFFER_SMALL 
    1010#define _ROAR_MESSAGE_VERSION 0 
     11 
     12#if ROAR_MAX_CHANNELS > (LIBROAR_BUFFER_SMALL - 10) 
     13#error ROAR_MAX_CHANNELS too large change ROAR_MAX_CHANNELS or LIBROAR_BUFFER_SMALL 
     14#endif 
    1115 
    1216struct roar_message { 
Note: See TracChangeset for help on using the changeset viewer.