/[svn]/linuxsampler/trunk/src/drivers/audio/AudioOutputDeviceJack.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/drivers/audio/AudioOutputDeviceJack.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1682 by schoenebeck, Wed Feb 13 15:31:56 2008 UTC revision 2410 by schoenebeck, Sat Feb 2 18:52:15 2013 UTC
# Line 3  Line 3 
3   *   LinuxSampler - modular, streaming capable sampler                     *   *   LinuxSampler - modular, streaming capable sampler                     *
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *
6   *   Copyright (C) 2005 - 2008 Christian Schoenebeck                       *   *   Copyright (C) 2005 - 2013 Christian Schoenebeck                       *
7   *                                                                         *   *                                                                         *
8   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
9   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 86  namespace LinuxSampler { Line 86  namespace LinuxSampler {
86                  protected:                  protected:
87                      AudioChannelJack(uint ChannelNr, AudioOutputDeviceJack* pDevice) throw (AudioOutputException);                      AudioChannelJack(uint ChannelNr, AudioOutputDeviceJack* pDevice) throw (AudioOutputException);
88                      ~AudioChannelJack();                      ~AudioChannelJack();
89                        void UpdateJackBuffer(uint size);
90                      friend class AudioOutputDeviceJack;                      friend class AudioOutputDeviceJack;
91                  private:                  private:
92                      AudioOutputDeviceJack* pDevice;                      AudioOutputDeviceJack* pDevice;
# Line 121  namespace LinuxSampler { Line 122  namespace LinuxSampler {
122              virtual uint MaxSamplesPerCycle();              virtual uint MaxSamplesPerCycle();
123              virtual uint SampleRate();              virtual uint SampleRate();
124              virtual AudioChannel* CreateChannel(uint ChannelNr);              virtual AudioChannel* CreateChannel(uint ChannelNr);
125                virtual float latency();
126    
127              static String Name();              static String Name();
128    
# Line 131  namespace LinuxSampler { Line 132  namespace LinuxSampler {
132              static String Version();              static String Version();
133    
134              int Process(uint Samples);  // FIXME: should be private              int Process(uint Samples);  // FIXME: should be private
135                void UpdateJackBuffers(uint size);
136          protected:          protected:
137              AudioOutputDeviceJack(String* AutoConnectPortIDs = NULL, uint AutoConnectPorts = 0);              AudioOutputDeviceJack(String* AutoConnectPortIDs = NULL, uint AutoConnectPorts = 0);
138          private:          private:
# Line 182  namespace LinuxSampler { Line 184  namespace LinuxSampler {
184    
185              JackClient(String Name);              JackClient(String Name);
186              ~JackClient();              ~JackClient();
187            
188                // Callback functions for the libjack API
189                static int libjackSampleRateCallback(jack_nframes_t nframes, void *arg);
190                static int libjackBufferSizeCallback(jack_nframes_t nframes, void *arg);
191      };      };
192  }  }
193    

Legend:
Removed from v.1682  
changed lines
  Added in v.2410

  ViewVC Help
Powered by ViewVC