WeibelLab / ChronoSense

ChronoSense: a multimodal data capture software for all. OS agnostic, time aware, extensible. Powered by Node.js and Electron.
http://chronosense.ucsd.edu/
GNU General Public License v3.0
3 stars 0 forks source link

stream logic cleanup for audio.js and matching to camera.js #56

Closed stevenrick closed 2 years ago

stevenrick commented 2 years ago

This PR addresses issue #55 by streamlining the handling of audioContext objects and associated streams by checking status and then closing any open streams appropriately in the stopStreams() function.

Cleans up both audio.js and camera.js where the same functions were being reused

Will release a bugfix version v1.6.1 when PR is merged