Don't know if it's the place to post but I've noted a possible bug:
(N.B.: Windows 7 and Firefox browser)
I print the 'context->audioFrames' in the setup(...) function, the blocksize value is correct.
settings.json:
{
"fileName": "render.cpp",
"CLArgs": {
"-p": "4",
"-C": "8",
"-B": "16",
"-H": "-6",
"-N": 1,
"-G": "1",
"-M": "0",
"-D": "0",
"-A": "0",
"--pga-gain-left": "10",
"--pga-gain-right": "10",
"user": "",
"make": "",
"-X": "0",
"audioExpander": "0",
"-Y": "",
"-Z": ""
}
}
I stop the execution and toggle the state of boxes “use digital” and/or “use analog” in IDE (in "Basic" project) and when I execute the project (in IDE), the context->audioFrames value is set to its default value of 16 despite the IDE having another value.
Stop the execution.
Download the project from IDE. The parameters displayed has changed after the download.
Open the downloaded settings.json file. Values are the same as displayed currently in the browser but not to what was selected.
{
"fileName": "render.cpp",
"CLArgs": {
"-p": "16",
"-C": "8",
"-B": "16",
"-H": "-6",
"-N": 0,
"-G": "1",
"-M": "0",
"-D": "0",
"-A": "0",
"--pga-gain-left": "10",
"--pga-gain-right": "10",
"user": "",
"make": "",
"-X": "0",
"audioExpander": "0",
"-Y": "",
"-Z": ""
}
}
Refresh the browser. The values are the same.
Change the value of blocksize and execute. 'context->audioFrames' is correct.
Download the project.
Open settings.json:
{
"fileName": "render.cpp",
"CLArgs": {
"-p": "4",
"-C": "8",
"-B": "16",
"-H": "-6",
"-N": 0,
"-G": "1",
"-M": "0",
"-D": "0",
"-A": "0",
"--pga-gain-left": "10",
"--pga-gain-right": "10",
"user": "",
"make": "",
"-X": "0",
"audioExpander": "0",
"-Y": "",
"-Z": ""
}
}