r956: README.BUILD - add more library recommendations
[cinelerra_cv/ct.git] / cinelerra / audiodvb.C
blob4c44ce51affc181ebc56571bc7396c42cc20d5e1
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;