Changeset 1569:a7aadd1f72a3 in roaraudio


Ignore:
Timestamp:
04/13/09 01:48:20 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

moved alias to a better place, make it accessible in case a lib(roarsndio) wants to use our version

Location:
include/libroarsndio
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/libroarsndio/libroarsndio.h

    r1568 r1569  
    4242#endif 
    4343 
     44#if !defined(ROAR_HAVE_LIBSNDIO) || defined(ROAR_USE_OWN_SNDIO_HDL) 
     45#ifdef sio_hdl 
     46#undef sio_hdl 
     47#endif 
     48#define sio_hdl roar_sio_hdl 
     49#endif 
     50 
    4451struct roar_sio_hdl { 
    4552 char           * device; 
  • include/libroarsndio/sndiosym.h

    r1568 r1569  
    6161#define SIO_BPS(bits) (((bits)/8) + ((bits) % 8 ? 1 : 0)) 
    6262 
    63 #define sio_hdl roar_sio_hdl 
    64  
    6563struct sio_par { 
    6664 unsigned bits;          /* bits per sample */ 
Note: See TracChangeset for help on using the changeset viewer.