Changeset 341:0f93f89c3c88 in roaraudio for include/libroaryiff


Ignore:
Timestamp:
07/29/08 22:22:19 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

adding basic macros for YID<->Roar conv and include roaraudio.h :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroaryiff/libroaryiff.h

    r340 r341  
    33#ifndef _LIBROARYIFF_H_ 
    44#define _LIBROARYIFF_H_ 
     5 
     6#include <roaraudio.h> 
    57 
    68#include <Y2/Y.h>           /* Basic Y types and constants. */ 
     
    911#include <unistd.h> 
    1012#include <string.h> 
     13#include <stdlib.h> 
     14 
     15// YID 0 is error like -1 on libroar! 
     16#define ROARYIFF_YID2ROAR(x) ((x)-1) 
     17#define ROARYIFF_ROAR2YID(x) ((x)+1) 
    1118 
    1219#endif 
Note: See TracChangeset for help on using the changeset viewer.