mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-12-16 08:56:42 -05:00
Changed data type of alsa-lib handles from 'void *' to the specific type for
the handle in use. This should be more type-safe as the compiler will perform checking on type now.
This commit is contained in:
parent
9679707a00
commit
19811bb9b4
15 changed files with 417 additions and 404 deletions
|
|
@ -9,18 +9,20 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
int snd_timer_open(void **handle);
|
||||
int snd_timer_close(void *handle);
|
||||
int snd_timer_file_descriptor(void *handle);
|
||||
int snd_timer_general_info(void *handle, snd_timer_general_info_t * info);
|
||||
int snd_timer_select(void *handle, snd_timer_select_t *tselect);
|
||||
int snd_timer_info(void *handle, snd_timer_info_t *timer);
|
||||
int snd_timer_params(void *handle, snd_timer_params_t *params);
|
||||
int snd_timer_status(void *handle, snd_timer_status_t *status);
|
||||
int snd_timer_start(void *handle);
|
||||
int snd_timer_stop(void *handle);
|
||||
int snd_timer_continue(void *handle);
|
||||
ssize_t snd_timer_read(void *handle, void *buffer, size_t size);
|
||||
typedef struct snd_timer snd_timer_t;
|
||||
|
||||
int snd_timer_open(snd_timer_t **handle);
|
||||
int snd_timer_close(snd_timer_t *handle);
|
||||
int snd_timer_file_descriptor(snd_timer_t *handle);
|
||||
int snd_timer_general_info(snd_timer_t *handle, snd_timer_general_info_t * info);
|
||||
int snd_timer_select(snd_timer_t *handle, snd_timer_select_t *tselect);
|
||||
int snd_timer_info(snd_timer_t *handle, snd_timer_info_t *timer);
|
||||
int snd_timer_params(snd_timer_t *handle, snd_timer_params_t *params);
|
||||
int snd_timer_status(snd_timer_t *handle, snd_timer_status_t *status);
|
||||
int snd_timer_start(snd_timer_t *handle);
|
||||
int snd_timer_stop(snd_timer_t *handle);
|
||||
int snd_timer_continue(snd_timer_t *handle);
|
||||
ssize_t snd_timer_read(snd_timer_t *handle, void *buffer, size_t size);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue