Re: [hatari-devel] AVI recording helpers usage |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] AVI recording helpers usage
- From: Nicolas Pomarède <npomarede@xxxxxxxxxxxx>
- Date: Sun, 29 Jun 2025 22:08:29 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=corp.free.fr; s=rcs; t=1751227711; bh=Eqzw52lAfR/WTacf81XuXP5kZHjkQMfrK+BIZFKVAFc=; h=Date:Subject:To:References:From:In-Reply-To:From; b=Cp6Tqx2ie5xQwwZaZjohrI8gboruy6CTolZz0boqvplDzy+SF8i6PQ/iK3PLs1pGk gDSZ5BDUggnxN8LWp6wt5GnwtkQpY6+1RstNuW5/LHm5CpIJ3AH5XcNQZBVBP0+qyY DPtIKHc0dK9XO7n9SYk1HjTOZ41TDq43eHbyREO4DyE6CVW6FevVIdXEA8JhMewSXo q5CGO3CRnff0Z8JQx/k1yv7g5RNvE9Cv3lZEnxeJhHsf9Qh+BrYTmWVLG8jNGh/hEW o5GeexsunoN4wIjaLjCvFUtYiSmb/O+WC6nNd54zXJOprgDrn649rs+YM9VWqOm/z0 XbeJ2cnyQqSrQ==
Le 29/06/2025 à 19:41, Eero Tamminen a écrit :
Hi Nicolas,
On 25.6.2025 1.59, Eero Tamminen wrote:
Do following AVI recording helpers in the attached patches make sense
to you?
(I would be using those helpers later on to extend my WIP autostart
support also to AVI recording.)
If there are no objections within few days, I'll push them.
Hi
patch looks ok to me to be committed, except this one :
--- a/src/sound.c
+++ b/src/sound.c
@@ -1796,7 +1796,7 @@ void Sound_Update(uint64_t CPU_Clock)
Audio_Unlock();
/* Save to WAV file, if open */
- if (bRecordingWav)
+ if (Avi_AreWeRecording())
WAVFormat_Update(AudioMixBuffer, pos_write_prev, Samples_Nbr);
Why replace bRecordingWav with Avi_AreWeRecording ? Maybe you changed
this by mistake ?
Nicolas