Merge branch 'ct' of git.pipapo.org:cinelerra-ct into ct
[cinelerra_cv/ct.git] / cinelerra / audiodvb.C
blobb9a3b677ad370916f65d516fc43d8a7cc0991789
1 #include "audiodvb.h"
2 #include "devicedvbinput.h"
7 AudioDVB::AudioDVB(AudioDevice *device)
8  : AudioLowLevel(device)
10         reset();
13 AudioDVB::~AudioDVB()
18 int AudioDVB::open_input()
20         if(!input_thread)
21         {
22                 input_thread = DeviceDVBInput::get_input_thread(device->mwindow);
23         }
24         return 0;
27 int AudioDVB::close_all()
29         if(input_thread)
30         {
31                 DeviceDVBInput::put_input_thread(device->mwindow);
32         }
33         input_thread = 0;
34         return 0;
37 void AudioDVB::reset()
39         input_thread = 0;
47 //      Local Variables:
48 //      mode: C++
49 //      c-file-style: "linux"
50 //      End: