Changeset 4903:1a9db57bf503 in roaraudio


Ignore:
Timestamp:
05/05/11 10:56:51 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

check if we support some kind of data format type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/buffer.c

    r4901 r4903  
    377377  return -1; 
    378378 
     379 switch (type) { 
     380  case ROAR_VIO_DFT_RAW: 
     381  case ROAR_VIO_DFT_PACKET: 
     382  case ROAR_VIO_DFT_UNFRAMED: 
     383   break; 
     384  default: 
     385    return -1; 
     386 } 
     387 
    379388 buf->type = type; 
    380389 
Note: See TracChangeset for help on using the changeset viewer.