Changeset 3160:b26e4a8c978f in roaraudio for libroaross/libroaross.c


Ignore:
Timestamp:
01/15/10 17:24:05 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

support old (pre v3) SNDCTL_DSP_STEREO

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroaross/libroaross.c

    r3159 r3160  
    764764        return 0; 
    765765       break; 
     766      case SNDCTL_DSP_STEREO: 
     767        handle->stream.info.channels = *ip ? 2 : 1; 
     768        return 0; 
     769       break; 
    766770      case SNDCTL_DSP_SETFMT: 
    767771        return _ioctl_stream_format(handle, *ip); 
Note: See TracChangeset for help on using the changeset viewer.