Changeset 3161:38c8937da462 in roaraudio


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

support SNDCTL_DSP_GETBLKSIZE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroaross/libroaross.c

    r3160 r3161  
    768768        return 0; 
    769769       break; 
     770      case SNDCTL_DSP_GETBLKSIZE: 
     771         *ip = handle->stream.info.rate * handle->stream.info.channels * handle->stream.info.bits / 800; 
     772        return 0; 
     773       break; 
    770774      case SNDCTL_DSP_SETFMT: 
    771775        return _ioctl_stream_format(handle, *ip); 
Note: See TracChangeset for help on using the changeset viewer.