#include "bcsignals.h"
#include "clip.h"
#include "bchash.h"
+#include "edl.h"
#include "edlsession.h"
#include "filexml.h"
#include "guicast.h"
LiveAudioWindow::LiveAudioWindow(LiveAudio *plugin)
: PluginClientWindow(plugin,
- 300,
- 160,
- 300,
- 160,
+ xS(300),
+ yS(160),
+ xS(300),
+ yS(160),
0)
{
this->plugin = plugin;
void LiveAudioWindow::create_objects()
{
- int x = 10, y = 10;
+ int x = xS(10), y = yS(10);
BC_Title *title;
add_subwindow(title = new BC_Title(x, y, _("Live audio")));
if(!adevice)
{
- EDLSession *session = PluginClient::get_edlsession();
+ EDLSession *session = get_edl()->session;
if(session)
{
fragment_size = session->record_fragment_size;