Changeset 1544:9629323e9999 in roaraudio for roard/driver_oss.c


Ignore:
Timestamp:
04/12/09 19:04:14 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

moved parts that should be in the header from the c code file into the header file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/driver_oss.c

    r1541 r1544  
    2626#if defined(ROAR_HAVE_OSS_BSD) || defined(ROAR_HAVE_OSS) 
    2727 
    28 struct driver_oss { 
    29  char * device; 
    30  int fh; 
    31  int blocks; 
    32  int blocksize; 
    33  struct roar_audio_info info; 
    34  int need_reopen; 
    35  int need_config; 
    36  struct roar_stream_server * stream; 
    37  int ssid; 
    38 }; 
    3928 
    4029#define _get(vio,obj) (((struct driver_oss*)((vio)->inst))->obj) 
    41  
    42 ssize_t driver_oss_write    (struct roar_vio_calls * vio, void *buf, size_t count); 
    43 int     driver_oss_nonblock (struct roar_vio_calls * vio, int state); 
    44 int     driver_oss_close_vio(struct roar_vio_calls * vio); 
    45 int     driver_oss_reopen_device(struct driver_oss * self); 
    4630 
    4731int driver_oss_init_vio(struct roar_vio_calls * vio, struct driver_oss * inst) { 
Note: See TracChangeset for help on using the changeset viewer.