mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 22:56:31 +01:00
aplay: Fix type for signal flag
A flag used in signal handlers has to be a special atomic type, volatile sig_atomic_t. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
8188c2466a
commit
9aa5c271f4
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ static snd_pcm_stream_t stream = SND_PCM_STREAM_PLAYBACK;
|
|||
static int mmap_flag = 0;
|
||||
static int interleaved = 1;
|
||||
static int nonblock = 0;
|
||||
static int in_aborting = 0;
|
||||
static volatile sig_atomic_t in_aborting = 0;
|
||||
static u_char *audiobuf = NULL;
|
||||
static snd_pcm_uframes_t chunk_size = 0;
|
||||
static unsigned period_time = 0;
|
||||
|
|
Loading…
Reference in a new issue