Closing and opening AudioInput in minim library

Hi everybody,

I think it is possible to close the audio coming from line-in with ".close()". But is there any way to restart it again? I can't find any ".open()" or the like...

Thank you,

Tagged:

Answers

  • You can use in.isMuted(), in.mute() and in.unmute().

  • Yes, in that way I can mute the sound. But what I'd like to do is to close the input stream (getLineIn) and reopen it in another moment. Is there any way to do it?

Sign In or Register to comment.