Win32 Progress Flush Fix #244

Open
opened 2024-11-28 17:04:38 +01:00 by sox_ng · 0 comments
Owner

Win32 Progress Flush Fix

Description

On 2015-03-21 MuldeR writes:

On the Windows platofrm it is required to explicitly flush the STDERR after printing the progress message. Otherwise, the parent process does NOT get the progress until either the buffer is flushed implicitly (because it happens to exceeds its limits) or the SoX process terminates. So, if we want to process progress updates in "real time", we need explicit flushing!

# Win32 Progress Flush Fix ## Links * `sox.sf.net` [patch 107](https://sourceforge.net/p/sox/patches/107) ## Description On 2015-03-21 [MuldeR](https://sourceforge.net/u/lord_mulder) writes: > On the Windows platofrm it is required to explicitly flush the STDERR after printing the progress message. Otherwise, the parent process does NOT get the progress until either the buffer is flushed implicitly (because it happens to exceeds its limits) or the SoX process terminates. So, if we want to process progress updates in "real time", we need explicit flushing!
sox_ng changed title from dummy to Win32 Progress Flush Fix 2024-11-28 17:05:19 +01:00
sox_ng added this to the micro milestone 2024-11-28 17:05:19 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: sox_ng/sox_ng#244
No description provided.