Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make FlexASIO easier to test #7

Closed
dechamps opened this issue Oct 15, 2018 · 2 comments
Closed

Make FlexASIO easier to test #7

dechamps opened this issue Oct 15, 2018 · 2 comments
Assignees

Comments

@dechamps
Copy link
Owner

Currently, the only way to test FlexASIO is to load it inside an ASIO host application. This is not quick nor automatable.

One approach would be to build a small .exe that simply makes a series of ASIO calls just like a normal ASIO host application would, maybe even try to transfer a few buffers (e.g. one buffer of silence), and then exits. Even simpler could be to add a rundll32 entry point on the FlexASIO DLL itself to do this.

Maybe this could be done by going through the ASIO SDK for host applications, thus closely simulating what a real application would do. The main downside is that it will probably only work for the currently installed system-wide FlexASIO DLL, not for any DLL that one might want to test against (e.g. the one Visual Studio just built).

@josephernest
Copy link

josephernest commented Oct 16, 2018

One possibility: could FlexASIO (i.e. "C:\Program Files\FlexASIO\FlexASIO_x...dll") write log to "C:\Program Files\FlexASIO\log.txt"?

This would allow debugging without using WinDbg.

@dechamps
Copy link
Owner Author

dechamps commented Oct 16, 2018

That would not be wise, as it would cause permission issues due to UAC. That's not the correct place from a technical perspective, anyway. I was thinking of dumping the log to the user directory, e.g. c:\users\your name\FlexASIO.log or something like that.

(I think you meant to post your suggestion in #5, by the way.)

@dechamps dechamps assigned dechamps and unassigned dechamps Oct 18, 2018
dechamps added a commit that referenced this issue Oct 24, 2018
This will be necessary to build a test ASIO host application.

#7
dechamps added a commit that referenced this issue Oct 24, 2018
For now this only tests ASIOInit() and nothing else. It goes through
the proper ASIO host SDK just like any other ASIO host application,
hence the new project to build the ASIO host code.

See #7.
dechamps added a commit that referenced this issue Oct 24, 2018
dechamps added a commit that referenced this issue Oct 24, 2018
dechamps added a commit that referenced this issue Oct 24, 2018
dechamps added a commit that referenced this issue Oct 24, 2018
dechamps added a commit that referenced this issue Oct 24, 2018
dechamps added a commit that referenced this issue Oct 24, 2018
dechamps added a commit that referenced this issue Oct 24, 2018
dechamps added a commit that referenced this issue Oct 24, 2018
dechamps added a commit that referenced this issue Oct 24, 2018
This is what the sample host application from the ASIO SDK does.

See #7.
dechamps added a commit that referenced this issue Oct 24, 2018
dechamps added a commit that referenced this issue Oct 24, 2018
dechamps added a commit that referenced this issue Oct 24, 2018
dechamps added a commit that referenced this issue Oct 24, 2018
dechamps added a commit that referenced this issue Oct 24, 2018
This might help end users investigate some issues themselves.

See #7.
dechamps added a commit that referenced this issue Oct 24, 2018
dechamps added a commit that referenced this issue Oct 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants