Changeset 4638:2516f31ee04a in roaraudio


Ignore:
Timestamp:
12/01/10 17:15:15 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

ROAR_VS_BACKEND_DEFAULT is now handled at runtime

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r4637 r4638  
    11v. 0.4beta2 - ? 
    22        * Announce standards via OpenSLP (Closes: #5) 
    3         * Updated VS API (Closes: #54, #3, #2, #99) 
     3        * Updated VS API (Closes: #54, #3, #2, #99, #98) 
    44        * Added support for CRC24 (RFC 4880) 
    55        * Added Base64 support. 
  • include/libroar/vs.h

    r4635 r4638  
    146146int     roar_vs_blocking (roar_vs_t * vss, int val, int * error); 
    147147 
    148 /* default backend */ 
    149 #define ROAR_VS_BACKEND_DEFAULT ROAR_VS_BACKEND_FIRST 
    150148/* do not supply backend offset */ 
    151149#define ROAR_VS_BACKEND_NONE    -1 
     
    154152/* use mean of primary streams of same mixer as offset source */ 
    155153#define ROAR_VS_BACKEND_MEAN    -3 
     154/* default backend, now handled at runtime, old value was hard coded to _FIRST */ 
     155#define ROAR_VS_BACKEND_DEFAULT -4 
    156156 
    157157/* get server's position of stream 
  • libroar/vs.c

    r4637 r4638  
    619619 } 
    620620 
     621 if ( backend == ROAR_VS_BACKEND_DEFAULT ) { 
     622  backend = ROAR_VS_BACKEND_FIRST; 
     623 } 
     624 
    621625 switch (backend) { 
    622626  case ROAR_VS_BACKEND_NONE: 
Note: See TracChangeset for help on using the changeset viewer.