Changeset 6082:f9025c268370 in roaraudio for libroarsndio/libroarsndio.c


Ignore:
Timestamp:
09/06/15 10:46:11 (9 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Support SIO_DEVANY and MIO_PORTANY

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroarsndio/libroarsndio.c

    r6052 r6082  
    5959  return NULL; 
    6060 
    61  if ( !strncmp(name, "sun:", 4) ) { 
     61 if ( !strcmp(name, SIO_DEVANY) || !strcmp(name, MIO_PORTANY) ) { 
     62  return NULL; // use default. 
     63 } else if ( !strncmp(name, "sun:", 4) ) { 
    6264  unitoffset = name + 4; 
    6365 } else if ( !strncmp(name, "aucat:", 6) ) { 
Note: See TracChangeset for help on using the changeset viewer.