mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-16 06:59:57 -05:00
Corrected and completed encapsulation for PCM and rawmidi. Remove SND_PCM_HW_PARAM_* and use functions. Separated rawmidi info between streams
This commit is contained in:
parent
544718f10d
commit
a7561a9c7e
40 changed files with 2733 additions and 1537 deletions
|
|
@ -56,7 +56,7 @@ int snd_instr_fm_convert_to_stream(snd_instr_fm_t *fm,
|
|||
if (put == NULL)
|
||||
return -ENOMEM;
|
||||
/* build header */
|
||||
bzero(put, sizeof(*put));
|
||||
memset(put, 0, sizeof(*put));
|
||||
data = &put->data;
|
||||
if (name)
|
||||
strncpy(data->name, name, sizeof(data->name)-1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue