Mixer/Controller_Module: Shutdown JACK port when switching off CV mode.

Closes #172
This commit is contained in:
Jonathan Moore Liles 2015-09-29 22:10:52 -07:00
parent 156fd6d453
commit abde7f3bb5
1 changed files with 2 additions and 0 deletions

View File

@ -230,6 +230,8 @@ Controller_Module::mode ( Mode m )
{ {
chain()->client()->lock(); chain()->client()->lock();
aux_audio_input.back().jack_port()->shutdown();
delete aux_audio_input.back().jack_port(); delete aux_audio_input.back().jack_port();
aux_audio_input.pop_back(); aux_audio_input.pop_back();