mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 06:07:37 +02:00
Expose VLC instance
This commit is contained in:
@@ -544,3 +544,10 @@ AudioOutput::setDspCallback( std::function< void( int, int, float*, int, int ) >
|
|||||||
{
|
{
|
||||||
dspPluginCallback = cb;
|
dspPluginCallback = cb;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
libvlc_instance_t*
|
||||||
|
AudioOutput::vlcInstance() const
|
||||||
|
{
|
||||||
|
return m_vlcInstance;
|
||||||
|
}
|
||||||
|
@@ -67,6 +67,7 @@ public:
|
|||||||
void setDspCallback( std::function< void( int, int, float*, int, int ) > cb );
|
void setDspCallback( std::function< void( int, int, float*, int, int ) > cb );
|
||||||
|
|
||||||
static AudioOutput* instance();
|
static AudioOutput* instance();
|
||||||
|
libvlc_instance_t* vlcInstance() const;
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user