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

Changing outlet channel count without closing the process #78

Closed
AntonelloBS opened this issue Jan 10, 2024 · 2 comments
Closed

Changing outlet channel count without closing the process #78

AntonelloBS opened this issue Jan 10, 2024 · 2 comments

Comments

@AntonelloBS
Copy link

Hello,
is there a way to update the channel count of a stream without having to stop a process?
I am working on a GUI that let's change some device parameters (channel count and sampling rate) of a device. When I do that I would like to be able to change the outlet parameters without closing it or, if the latter is not possible, to close the outlet and open another one but when I call outlet.del() the process stops without giving any error (is this an expected behaviour?)

Thanks in advance for the help

@cboulay
Copy link
Contributor

cboulay commented Jan 10, 2024

You cannot change a stream's primary metadata after it is created. You have to close it and create a new stream.

I don't know what outlet.del() is -- I would expect that to raise an attribute error.
Or do you mean del outlet?

@cboulay cboulay closed this as completed Jul 3, 2024
@cboulay
Copy link
Contributor

cboulay commented Jul 3, 2024

Closed as stale.

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

2 participants