Changeset 3807:ba31470e6d4d in roaraudio


Ignore:
Timestamp:
05/09/10 12:01:18 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

only build OSS support if we have OSS support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarinterconnect.c

    r3673 r3807  
    3333#ifdef ROAR_HAVE_ESD 
    3434#include <esd.h> 
     35#endif 
     36 
     37#if defined(ROAR_HAVE_OSS_BSD) || defined(ROAR_HAVE_OSS) 
     38#define _HAVE_OSS 
    3539#endif 
    3640 
     
    6973 printf("\nPossible Types:\n\n"); 
    7074 printf("  roar               - RoarAudio Server\n" 
     75#ifdef ROAR_HAVE_ESD 
    7176        "  esd                - EsounD Server\n" 
     77#endif 
    7278        "  simple             - PulseAudio using simple protocol\n" 
     79#ifdef _HAVE_OSS 
    7380        "  oss                - Open Sound System (OSS) device\n" 
     81#endif 
    7482        "\n" 
    7583        "  bidir              - Connect bidirectional\n" 
     
    214222    rfh = roar_simple_stream(rate, channels, bits, codec, remote, tmp, "roarinterconnect"); 
    215223   break; 
     224#ifdef _HAVE_OSS 
    216225  case MT_OSS: 
    217226    switch (type & ST_MASK) { 
     
    245254    } 
    246255   break; 
     256#endif 
    247257#ifdef ROAR_HAVE_ESD 
    248258  case MT_ESD: 
Note: See TracChangeset for help on using the changeset viewer.