diff options
| author | 2025-04-25 15:56:56 -0400 | |
|---|---|---|
| committer | 2025-04-25 15:56:56 -0400 | |
| commit | b1985414e54edf1eebe597551a48609ad08c6cfa (patch) | |
| tree | 4a4def499348e0c9ccb52472e7c862f814993931 /src/mixer | |
| parent | 76fc9fe33dd58926e552b6bd3b79d798b452c6ed (diff) | |
| download | camu-b1985414e54edf1eebe597551a48609ad08c6cfa.tar.gz camu-b1985414e54edf1eebe597551a48609ad08c6cfa.tar.bz2 camu-b1985414e54edf1eebe597551a48609ad08c6cfa.zip | |
Partial cmc ui refactor
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/mixer')
| -rw-r--r-- | src/mixer/mixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mixer/mixer.c b/src/mixer/mixer.c index fbe3105..7e62f8d 100644 --- a/src/mixer/mixer.c +++ b/src/mixer/mixer.c @@ -14,7 +14,7 @@ static s32 data_callback(void *userdata, u8 *data, s32 frame_count, bool *silenc struct camu_mixer *mixer = (struct camu_mixer *)userdata; ptrdiff_t req = (ptrdiff_t)camu_audio_format_samples_to_bytes(&mixer->fmt.req, (size_t)frame_count); #ifdef CAMU_MIXER_THREADED_START_STOP - if (UNLIKELY(al_atomic_load(bool)(&mixer->paused, AL_ATOMIC_SEQ_CST))) { + if (UNLIKELY(al_atomic_load(bool)(&mixer->paused, AL_ATOMIC_RELAXED))) { al_memset(data, 0, req); *silence = MIXER_WANT_INITIAL_SILENCE; } else { |