MuseScore  3.4
Music composition and notation
Public Member Functions | Protected Attributes | List of all members
Ms::Driver Class Referenceabstract

#include <driver.h>

Inheritance diagram for Ms::Driver:
Inheritance graph
[legend]
Collaboration diagram for Ms::Driver:
Collaboration graph
[legend]

Public Member Functions

 Driver (Seq *s)
 
virtual ~Driver ()
 
virtual bool init (bool hot=false)=0
 
virtual bool start (bool hotPlug=false)=0
 
virtual bool stop ()=0
 
virtual void stopTransport ()=0
 
virtual void startTransport ()=0
 
virtual Transport getState ()=0
 
virtual void seekTransport (int)
 
virtual int sampleRate () const =0
 
virtual void putEvent (const NPlayEvent &, unsigned)
 
virtual void midiRead ()
 
virtual void handleTimeSigTempoChanged ()
 
virtual void checkTransportSeek (int, int, bool)
 
virtual int bufferSize ()
 
virtual void updateOutPortCount (int)
 

Protected Attributes

Seqseq
 

Constructor & Destructor Documentation

◆ Driver()

Ms::Driver::Driver ( Seq s)
inline

◆ ~Driver()

virtual Ms::Driver::~Driver ( )
inlinevirtual

Member Function Documentation

◆ bufferSize()

virtual int Ms::Driver::bufferSize ( )
inlinevirtual

Reimplemented in Ms::JackAudio.

◆ checkTransportSeek()

virtual void Ms::Driver::checkTransportSeek ( int  ,
int  ,
bool   
)
inlinevirtual

Reimplemented in Ms::JackAudio.

◆ getState()

virtual Transport Ms::Driver::getState ( )
pure virtual

◆ handleTimeSigTempoChanged()

virtual void Ms::Driver::handleTimeSigTempoChanged ( )
inlinevirtual

Reimplemented in Ms::JackAudio.

◆ init()

virtual bool Ms::Driver::init ( bool  hot = false)
pure virtual

◆ midiRead()

virtual void Ms::Driver::midiRead ( )
inlinevirtual

Reimplemented in Ms::AlsaAudio, Ms::JackAudio, and Ms::Portaudio.

◆ putEvent()

virtual void Ms::Driver::putEvent ( const NPlayEvent ,
unsigned   
)
inlinevirtual

Reimplemented in Ms::JackAudio.

◆ sampleRate()

virtual int Ms::Driver::sampleRate ( ) const
pure virtual

◆ seekTransport()

virtual void Ms::Driver::seekTransport ( int  )
inlinevirtual

Reimplemented in Ms::JackAudio.

◆ start()

virtual bool Ms::Driver::start ( bool  hotPlug = false)
pure virtual

◆ startTransport()

virtual void Ms::Driver::startTransport ( )
pure virtual

◆ stop()

virtual bool Ms::Driver::stop ( )
pure virtual

◆ stopTransport()

virtual void Ms::Driver::stopTransport ( )
pure virtual

◆ updateOutPortCount()

virtual void Ms::Driver::updateOutPortCount ( int  )
inlinevirtual

Reimplemented in Ms::AlsaAudio, and Ms::JackAudio.

Member Data Documentation

◆ seq

Seq* Ms::Driver::seq
protected

The documentation for this class was generated from the following file: