Changeset 1562:eb1de616d1d2 in roaraudio


Ignore:
Timestamp:
04/13/09 00:57:35 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

start with parameter calls, add stubs for the rest

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroarsndio/para.c

    r1559 r1562  
    1 //libroarsndio.c: 
     1//para.c: 
    22 
    33/* 
     
    3333#include "libroarsndio.h" 
    3434 
     35void   sio_initpar(struct sio_par * par) { 
     36 if ( par == NULL ) 
     37  return; 
     38 
     39 memset(par, 0, sizeof(struct sio_par)); 
     40 
     41 par->bits  = ROAR_BITS_DEFAULT; 
     42 par->sig   = 1; 
     43 par->le    = SIO_LE_NATIVE; 
     44 par->msb   = 1; 
     45 par->rchan = 0; 
     46 par->pchan = ROAR_CHANNELS_DEFAULT; 
     47 par->rate  = ROAR_RATE_DEFAULT; 
     48 par->bufsz = ROAR_BITS_DEFAULT * ROAR_CHANNELS_DEFAULT * ROAR_RATE_DEFAULT / 800.0; 
     49 par->round = 1; 
     50 par->xrun  = SIO_IGNORE; 
     51 
     52 return; 
     53} 
     54 
     55int    sio_setpar (struct sio_hdl * hdl, struct sio_par * par) { 
     56 return 0; 
     57} 
     58 
     59int    sio_getpar (struct sio_hdl * hdl, struct sio_par * par) { 
     60 return 0; 
     61} 
     62 
     63int    sio_getcap (struct sio_hdl * hdl, struct sio_cap * cap) { 
     64 return 0; 
     65} 
     66 
     67 
    3568//ll 
Note: See TracChangeset for help on using the changeset viewer.