mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Removed warnings
This commit is contained in:
parent
0df4996fcd
commit
4bb0a08bf9
1 changed files with 2 additions and 1 deletions
|
|
@ -20,6 +20,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <sys/poll.h>
|
#include <sys/poll.h>
|
||||||
|
|
@ -579,7 +580,7 @@ static assoc_t fmts[] = {
|
||||||
static assoc_t starts[] = { START(GO), START(DATA), START(FULL), END };
|
static assoc_t starts[] = { START(GO), START(DATA), START(FULL), END };
|
||||||
static assoc_t xruns[] = { XRUN(FLUSH), XRUN(DRAIN), END };
|
static assoc_t xruns[] = { XRUN(FLUSH), XRUN(DRAIN), END };
|
||||||
static assoc_t fills[] = { FILL(NONE), FILL(SILENCE_WHOLE), FILL(SILENCE), END };
|
static assoc_t fills[] = { FILL(NONE), FILL(SILENCE_WHOLE), FILL(SILENCE), END };
|
||||||
static assoc_t onoff[] = { {0, "OFF"}, {1, "ON"}, {-1, "ON"}, END };
|
static assoc_t onoff[] = { {0, "OFF", NULL}, {1, "ON", NULL}, {-1, "ON", NULL}, END };
|
||||||
|
|
||||||
int snd_pcm_dump_setup(snd_pcm_t *pcm, int channel, FILE *fp)
|
int snd_pcm_dump_setup(snd_pcm_t *pcm, int channel, FILE *fp)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue