Changeset 3593:81af1674e14f in roaraudio for roard
- Timestamp:
- 02/28/10 06:05:21 (14 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roard
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/driver.c
r3591 r3593 35 35 { "roar", "RoarAudio driver", "localhost, remote.host.dom", DRV_FLAG_NONE, 36 36 ROAR_SUBSYS_WAVEFORM|ROAR_SUBSYS_MIDI|ROAR_SUBSYS_LIGHT|ROAR_SUBSYS_COMPLEX, 37 NULL, driver_roar_close, driver_roar_open_vio},37 NULL, NULL, driver_roar_open_vio}, 38 38 #ifdef ROAR_HAVE_IO_POSIX 39 39 { "raw", "RAW driver", "/some/file", DRV_FLAG_FHSEC, -
roard/driver_roar.c
r3517 r3593 2 2 3 3 /* 4 * Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2008 4 * Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2008-2010 5 5 * 6 6 * This file is part of roard a part of RoarAudio, … … 46 46 } 47 47 48 if ( (fh = roar_simple_stream(info->rate, info->channels, info->bits, info->codec, device, dir, "roard")) == -1 ) {48 if ( roar_vio_simple_stream(inst, info->rate, info->channels, info->bits, info->codec, device, dir, "roard") == -1 ) { 49 49 return -1; 50 50 } 51 52 roar_vio_set_fh(inst, fh);53 51 54 52 return 0; 55 53 } 56 54 57 int driver_roar_close(DRIVER_USERDATA_T inst) {58 return roar_simple_close(roar_vio_get_fh((struct roar_vio_calls *)inst));59 }60 61 55 //ll -
roard/include/driver_roar.h
r3517 r3593 28 28 29 29 int driver_roar_open_vio(struct roar_vio_calls * inst, char * device, struct roar_audio_info * info, int fh, struct roar_stream_server * sstream); 30 int driver_roar_close(DRIVER_USERDATA_T inst);31 int driver_roar_pause(DRIVER_USERDATA_T inst, int newstate);32 int driver_roar_flush(DRIVER_USERDATA_T inst);33 30 34 31 #endif
Note: See TracChangeset
for help on using the changeset viewer.