mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-12-17 08:56:45 -05:00
Added snd_instr_simple_free function
This commit is contained in:
parent
2d0d687591
commit
1adb6dc796
1 changed files with 8 additions and 0 deletions
|
|
@ -29,6 +29,14 @@
|
||||||
#include <asm/byteorder.h>
|
#include <asm/byteorder.h>
|
||||||
#include <linux/ainstr_simple.h>
|
#include <linux/ainstr_simple.h>
|
||||||
|
|
||||||
|
int snd_instr_simple_free(snd_instr_simple_t *simple)
|
||||||
|
{
|
||||||
|
if (simple == NULL)
|
||||||
|
return 0;
|
||||||
|
free(simple);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
static long simple_size(simple_instrument_t *instr)
|
static long simple_size(simple_instrument_t *instr)
|
||||||
{
|
{
|
||||||
int size;
|
int size;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue