|
libwebsockets
Lightweight C library for HTML5 websockets
|
Go to the source code of this file.
Data Structures | |
| struct | lws_alsa_info |
| struct | lws_alsa_control |
Typedefs | |
| typedef int(* | lws_alsa_control_cb) (void *user, const struct lws_alsa_control *c) |
Functions | |
| LWS_VISIBLE LWS_EXTERN struct lws_alsa_ctx * | lws_alsa_create_capture (const struct lws_alsa_info *info) |
| LWS_VISIBLE LWS_EXTERN void | lws_alsa_destroy (struct lws_alsa_ctx **ctx) |
| LWS_VISIBLE LWS_EXTERN int | lws_alsa_get_fd (struct lws_alsa_ctx *ctx) |
| LWS_VISIBLE LWS_EXTERN int | lws_alsa_read (struct lws_alsa_ctx *ctx, void *buf, size_t samples) |
| LWS_VISIBLE LWS_EXTERN int | lws_alsa_enum_controls (struct lws_alsa_ctx *ctx, lws_alsa_control_cb cb, void *user) |
| LWS_VISIBLE LWS_EXTERN int | lws_alsa_set_control (struct lws_alsa_ctx *ctx, uint32_t id, long val) |
| struct lws_alsa_info |
Definition at line 30 of file lws-alsa.h.
Collaboration diagram for lws_alsa_info:| Data Fields | ||
|---|---|---|
| const char * | device_name | |
| uint32_t | rate | |
| uint32_t | channels | |
| uint32_t | samples_per_frame | |
| struct lws_alsa_control |
Definition at line 37 of file lws-alsa.h.
Collaboration diagram for lws_alsa_control:| Data Fields | ||
|---|---|---|
| uint32_t | id | |
| char | name[64] | |
| long | min | |
| long | max | |
| long | step | |
| long | val | |
| typedef int(* lws_alsa_control_cb) (void *user, const struct lws_alsa_control *c) |
Definition at line 46 of file lws-alsa.h.
| LWS_VISIBLE LWS_EXTERN struct lws_alsa_ctx * lws_alsa_create_capture | ( | const struct lws_alsa_info * | info | ) |
References LWS_EXTERN, and LWS_VISIBLE.
| LWS_VISIBLE LWS_EXTERN void lws_alsa_destroy | ( | struct lws_alsa_ctx ** | ctx | ) |
References LWS_EXTERN, and LWS_VISIBLE.
| LWS_VISIBLE LWS_EXTERN int lws_alsa_get_fd | ( | struct lws_alsa_ctx * | ctx | ) |
References LWS_EXTERN, and LWS_VISIBLE.
| LWS_VISIBLE LWS_EXTERN int lws_alsa_read | ( | struct lws_alsa_ctx * | ctx, |
| void * | buf, | ||
| size_t | samples ) |
References LWS_EXTERN, and LWS_VISIBLE.
| LWS_VISIBLE LWS_EXTERN int lws_alsa_enum_controls | ( | struct lws_alsa_ctx * | ctx, |
| lws_alsa_control_cb | cb, | ||
| void * | user ) |
References LWS_EXTERN, and LWS_VISIBLE.
| LWS_VISIBLE LWS_EXTERN int lws_alsa_set_control | ( | struct lws_alsa_ctx * | ctx, |
| uint32_t | id, | ||
| long | val ) |