View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009202 | ardour | bugs | public | 2023-01-20 20:23 | 2023-01-21 00:41 |
Reporter | rastin | Assigned To | x42 | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Arch | OS | Linux | OS Version | (any) |
Product Version | 7.2 | ||||
Summary | 0009202: missing print() messages in lua dsp processor | ||||
Description | When using the print() function from within a lua dsp processor, the printed messages do not reach the log until something else prints a message. | ||||
Steps To Reproduce | 1) Load any lua dsp processor that calls print() anywhere, such as in dsp_init, dsp_configure, or dsp_run 2) Notice that nothing appears in Ardour's log 3) Load any lua session script that calls print() 4) Notice that all of the print messages from 1) now appear in the log and the first printed message from 3) is missing its time stamp. | ||||
Additional Information | Skimming through Ardour's code, I wonder if an endmsg is missing on line 206 of luaproc.cc which reads as follows. PBD::info << "LuaProc: " << s << "\n"; A similar line in session.cc (line 5249) has endmsg, and lua session scripts have no issue using print(). PBD::info << "LuaSession: " << s << endmsg; | ||||
Tags | No tags attached. | ||||