Changeset 4160:87a2bd2f45a7 in roaraudio for roard/include/driver_alsa.h
- Timestamp:
- 08/13/10 16:53:16 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/include/driver_alsa.h
r3692 r4160 28 28 #define _DRIVER_ALSA_H_ 29 29 30 typedef struct roar_alsa { 31 snd_pcm_t * handle; 32 snd_pcm_hw_params_t * params; 33 snd_pcm_format_t format; 34 struct roar_audio_info info; 35 struct roar_stream_server * sstream; 36 int ssid; 37 } roar_alsa_t; 38 30 39 int driver_alsa_open_vio(struct roar_vio_calls * inst, char * device, struct roar_audio_info * info, int fh, struct roar_stream_server * sstream); 31 40 ssize_t driver_alsa_write (struct roar_vio_calls * vio, void *buf, size_t count); 32 41 int driver_alsa_close (struct roar_vio_calls * vio); 42 int driver_alsa_sync (struct roar_vio_calls * vio); 43 int driver_alsa_ctl (struct roar_vio_calls * vio, int cmd, void * data); 33 44 34 45 #endif
Note: See TracChangeset
for help on using the changeset viewer.