Class RtApiJack

Synopsis

#include <RtAudio.h>

class RtApiJack: public RtApi

Description

No description yet.

Inheritance

Ancestors: RtApi

Methods

RtApiJack
~RtApiJack
abortStream
callbackEventThis function is intended for internal use only
closeStream
getCurrentApi
getDeviceCount
getDeviceInfo
startStream
stopStream

Source

Lines 912-940 in RtAudio.h.

class RtApiJack: public RtApi
{
public:

  RtApiJack();
  ~RtApiJack();
  RtAudio::Api getCurrentApi( void ) override { return RtAudio::UNIX_JACK; }
  unsigned int getDeviceCount( void ) override;
  RtAudio::DeviceInfo getDeviceInfo( unsigned int device ) override;
  void closeStream( void ) override;
  void startStream( void ) override;
  void stopStream( void ) override;
  void abortStream( void ) override;

  // This function is intended for internal use only.  It must be
  // public because it is called by the internal callback handler,
  // which is not a member of RtAudio.  External use of this function
  // will most likely produce highly undesireable results!
  bool callbackEvent( unsigned long nframes );

  private:

  bool probeDeviceOpen( unsigned int device, StreamMode mode, unsigned int channels, 
                        unsigned int firstChannel, unsigned int sampleRate,
                        RtAudioFormat format, unsigned int *bufferSize,
                        RtAudio::StreamOptions *options ) override;

  bool shouldAutoconnect_;
};





Add Discussion as Guest

Log in