2 ==============================================================================
4 This is an automatically generated file created by the Jucer!
6 Creation date: 1 May 2011 12:07:35pm
8 Be careful when adding custom code to these files, as only the code within
9 the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
14 ------------------------------------------------------------------------------
16 The Jucer is part of the JUCE library - "Jules' Utility Class Extensions"
17 Copyright 2004-6 by Raw Material Software ltd.
19 ==============================================================================
22 #ifndef __JUCER_HEADER_AUDIODEMOTABCOMPONENT_AUDIODEMOTABCOMPONENT_ADE99E0E__
23 #define __JUCER_HEADER_AUDIODEMOTABCOMPONENT_AUDIODEMOTABCOMPONENT_ADE99E0E__
25 //[Headers] -- You can add your own extra header files here --
26 #include "../jucedemo_headers.h"
29 //==============================================================================
30 /* This component scrolls a continuous waveform showing the audio that's currently
31 coming into the audio input.
33 class LiveAudioInputDisplayComp
: public Component
,
34 public AudioIODeviceCallback
,
38 //==============================================================================
39 LiveAudioInputDisplayComp();
40 ~LiveAudioInputDisplayComp();
42 void paint (Graphics
& g
);
45 void audioDeviceAboutToStart (AudioIODevice
* device
);
46 void audioDeviceStopped();
47 void audioDeviceIOCallback (const float** inputChannelData
, int numInputChannels
,
48 float** outputChannelData
, int numOutputChannels
, int numSamples
);
51 int nextSample
, subSample
;
54 LiveAudioInputDisplayComp (const LiveAudioInputDisplayComp
&);
55 LiveAudioInputDisplayComp
& operator= (const LiveAudioInputDisplayComp
&);
62 //==============================================================================
65 This component creates the set of tabs that hold the various
69 class AudioDemoTabComponent
: public Component
72 //==============================================================================
73 AudioDemoTabComponent ();
74 ~AudioDemoTabComponent();
76 //==============================================================================
77 //[UserMethods] -- You can add your own custom methods in this section.
80 void paint (Graphics
& g
);
85 //==============================================================================
86 juce_UseDebuggingNewOperator
89 //[UserVariables] -- You can add your own custom variables in this section.
90 AudioDeviceManager deviceManager
;
93 //==============================================================================
94 TabbedComponent
* tabbedComponent
;
97 //==============================================================================
98 // (prevent copy constructor and operator= being generated..)
99 AudioDemoTabComponent (const AudioDemoTabComponent
&);
100 const AudioDemoTabComponent
& operator= (const AudioDemoTabComponent
&);
104 #endif // __JUCER_HEADER_AUDIODEMOTABCOMPONENT_AUDIODEMOTABCOMPONENT_ADE99E0E__