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

nice job countryman #1

Open
i3roly opened this issue Dec 29, 2022 · 1 comment
Open

nice job countryman #1

i3roly opened this issue Dec 29, 2022 · 1 comment

Comments

@i3roly
Copy link

i3roly commented Dec 29, 2022

very very nice job

it never occurred me (i've never really needed the OOP paradigm) that i should create an audiostream class to override the getCurrentSampleFrame currently used by the main ioaudioengine.

i was looking at my cinema display in the sound settings today and i noticed it, like the xonar cards i'm trying to get working, uses a singular engine for both input and output streams. and they work.

so then i asked, how did they do it when getCurrentSampleFrame for one engine only works for one stream?

answer: they overrode the audiostream class and then "pushed down" the getCurrentSampleFrame function.

then they just called this function in the main getCurrentSampleFrame function and voila, each stream's pointers are updated with the subclass calls and the performErase call is also seemingly happy.

what the fuck man my mind is blown!! this will give me ideas for sure.

there is a lot more work to be done now, but ofc the little island comes through.

wow!!

@i3roly
Copy link
Author

i3roly commented Dec 29, 2022

well your TZ jives with the little islands but who knows.

even if you're not from the little islands, nice job.
Screenshot 2022-12-28 at 5 59 28 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant