Changeset 1374 for portaudio/branches

Show
Ignore:
Timestamp:
03/18/08 10:55:04 (9 months ago)
Author:
aknudsen
Message:

Choose ALSA before OSS on Linux

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • portaudio/branches/v19-devel/src/os/unix/pa_unix_hostapis.c

    r1353 r1374  
    5353PaError PaSkeleton_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index ); 
    5454 
     55/** Note that ALSA is placed before OSS so that the latter is preferred over the 
     56 * latter on Linux. 
     57 */ 
    5558 
    5659PaUtilHostApiInitializer *paHostApiInitializers[] = 
    5760    { 
     61#ifdef PA_USE_ALSA 
     62        PaAlsa_Initialize, 
     63#endif 
     64 
    5865#ifdef PA_USE_OSS 
    5966        PaOSS_Initialize, 
    60 #endif 
    61  
    62 #ifdef PA_USE_ALSA 
    63         PaAlsa_Initialize, 
    6467#endif 
    6568