mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-06 13:29:59 -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
|
|
@ -94,7 +94,7 @@ unsigned int snd_cards_mask(void)
|
|||
int snd_card_name(const char *string)
|
||||
{
|
||||
int card, bitmask;
|
||||
void *handle;
|
||||
snd_ctl_t *handle;
|
||||
struct snd_ctl_hw_info info;
|
||||
|
||||
if (!string || *string == '\0')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue