示例#1
0
    ~jack_backend(void)
    {
        if (audio_is_active())
            deactivate_audio();

        close_client();
    }
 void deactivate_audio()
 {
     if (audio_is_active()) {
         PaError err = Pa_StopStream(stream);
         report_error(err);
     }
 }
    ~portaudio_backend(void)
    {
        if (audio_is_active())
            deactivate_audio();

        close_stream();

        int err = Pa_Terminate();
        report_error(err);
    }
示例#4
0
nova_server::~nova_server(void)
{
#if defined(JACK_BACKEND)
    if (audio_is_active())
        deactivate_audio();

    close_client();
#endif
    scheduler<scheduler_hook, thread_init_functor>::terminate();
    io_interpreter.join_thread();
    instance = 0;
}