Changeset 3568:af9675724697 in roaraudio


Ignore:
Timestamp:
02/27/10 18:19:32 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added prototype for beep function and needed defines and struct

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/beep.h

    r3567 r3568  
    3939#include "libroar.h" 
    4040 
     41#define ROAR_BEEP_MAX_VOL 65535 
     42#define ROAR_BEEP_MAX_POS 32767 
     43 
     44#define ROAR_BEEP_TYPE_DEFAULT            0 
     45#define ROAR_BEEP_TYPE_CBELL              1 
     46#define ROAR_BEEP_TYPE_XBELL              2 
     47#define ROAR_BEEP_TYPE_ERROR              3 
     48 
     49struct roar_beep { 
     50 uint16_t vol; 
     51 uint16_t time; 
     52 uint16_t freq; 
     53 uint16_t type; 
     54 int16_t  x, y, z; 
     55}; 
     56 
     57int roar_beep(struct roar_connection * con, const struct roar_beep * beep); 
     58 
    4159#endif 
    4260 
Note: See TracChangeset for help on using the changeset viewer.