tebjan / VVVV.Audio

Implementation of an audio engine for vvvv
http://vvvv.org
GNU Lesser General Public License v3.0
39 stars 13 forks source link

Writer locks file even if not writing #161

Open DominikKoller opened 7 years ago

DominikKoller commented 7 years ago

If I've got a Writer that writes to file 'MyAudio.wav', even if it's not writing I cannot play the file anywhere else with a FileStream since it's locked.

I propose a pin on the writer that says 'Use File' or 'Lock File' - if this pin is On, it's assured that when you start/stop writing the file is available. If it's off, you are free to use the file elswhere. Also, it shouldn't create any file until Writing if that pin is off.