You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cause is that IrEncoder does not truncate the output file: when generating an IR file, if the destination file was already existing and the generated output takes less space than the current contents of the file, then the extra content at the end of the file is not removed from the output.
This makes the generated file unreadable.
A possible fix would be adding a channel.truncate(0) in the IrEncoder constructor.
The text was updated successfully, but these errors were encountered:
The cause is that IrEncoder does not truncate the output file: when generating an IR file, if the destination file was already existing and the generated output takes less space than the current contents of the file, then the extra content at the end of the file is not removed from the output.
This makes the generated file unreadable.
A possible fix would be adding a channel.truncate(0) in the IrEncoder constructor.
The text was updated successfully, but these errors were encountered: