a few device procs
This commit is contained in:
@@ -308,4 +308,8 @@ foreign alsa {
|
|||||||
mixer_selem_set_capture_switch :: proc(elem: ^mixer_elem_t, channel: mixer_selem_channel_id_t, value: c.int) -> c.int ---
|
mixer_selem_set_capture_switch :: proc(elem: ^mixer_elem_t, channel: mixer_selem_channel_id_t, value: c.int) -> c.int ---
|
||||||
mixer_selem_id_free :: proc(obj: ^mixer_selem_id_t) ---
|
mixer_selem_id_free :: proc(obj: ^mixer_selem_id_t) ---
|
||||||
mixer_close :: proc(mixer: ^mixer_t) -> c.int ---
|
mixer_close :: proc(mixer: ^mixer_t) -> c.int ---
|
||||||
|
|
||||||
|
device_name_hint :: proc(card: c.int, iface: cstring, hints: ^[^]rawptr) -> c.int ---
|
||||||
|
device_name_get_hint :: proc(hint: rawptr, id: cstring) -> cstring ---
|
||||||
|
device_name_free_hint :: proc(hints: [^]rawptr) -> c.int ---
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user