test_class.declarator: effector
test_class.original_string: AudioEffector effector;
test_class.type: AudioEffector
test_class.var_name: effector
test_class.file: domain/src/test/java/org/m4m/domain/AudioEffectorTest.java
test_class.identifier: AudioEffectorTest
test_class.superclass: extends TestBase
test_case.body: @Test
      public void getFrameReturnsNullUntilFindFreeFrameIsCalled() {
          assertEquals(null, effector.getFrame());
      }
test_case.class_method_signature: AudioEffectorTest.getFrameReturnsNullUntilFindFreeFrameIsCalled()
test_case.full_signature: @Test public void getFrameReturnsNullUntilFindFreeFrameIsCalled()
test_case.identifier: getFrameReturnsNullUntilFindFreeFrameIsCalled
test_case.invocations: assertEquals getFrame
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void getFrameReturnsNullUntilFindFreeFrameIsCalled()
focal_class.declarator: audioEffects = new LinkedList<IAudioEffect>()
focal_class.modifier: private
focal_class.original_string: private LinkedList<IAudioEffect> audioEffects = new LinkedList<IAudioEffect>();
focal_class.type: LinkedList<IAudioEffect>
focal_class.var_name: audioEffects
focal_class.declarator: framesPool = new LinkedList<Frame>()
focal_class.modifier: private
focal_class.original_string: private LinkedList<Frame> framesPool = new LinkedList<Frame>();
focal_class.type: LinkedList<Frame>
focal_class.var_name: framesPool
focal_class.declarator: framesOutput = new LinkedList<Frame>()
focal_class.modifier: private
focal_class.original_string: private LinkedList<Frame> framesOutput = new LinkedList<Frame>();
focal_class.type: LinkedList<Frame>
focal_class.var_name: framesOutput
focal_class.declarator: capacity = 24 * 1024
focal_class.modifier: private
focal_class.original_string: private int capacity = 24 * 1024;
focal_class.type: int
focal_class.var_name: capacity
focal_class.file: domain/src/main/java/org/m4m/domain/AudioEffector.java
focal_class.identifier: AudioEffector
focal_class.class_method_signature: AudioEffector.AudioEffector(IMediaCodec mediaCodec)
focal_class.full_signature: public  AudioEffector(IMediaCodec mediaCodec)
focal_class.identifier: AudioEffector
focal_class.modifiers: public
focal_class.parameters: (IMediaCodec mediaCodec)
focal_class.signature:  AudioEffector(IMediaCodec mediaCodec)
focal_class.class_method_signature: AudioEffector.getAudioEffects()
focal_class.full_signature: public LinkedList<IAudioEffect> getAudioEffects()
focal_class.identifier: getAudioEffects
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: LinkedList<IAudioEffect>
focal_class.signature: LinkedList<IAudioEffect> getAudioEffects()
focal_class.class_method_signature: AudioEffector.initInputCommandQueue()
focal_class.full_signature: @Override protected void initInputCommandQueue()
focal_class.identifier: initInputCommandQueue
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void initInputCommandQueue()
focal_class.class_method_signature: AudioEffector.feedMeIfNotDraining()
focal_class.full_signature: @Override protected void feedMeIfNotDraining()
focal_class.identifier: feedMeIfNotDraining
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void feedMeIfNotDraining()
focal_class.class_method_signature: AudioEffector.push(Frame frame)
focal_class.full_signature: @Override public void push(Frame frame)
focal_class.identifier: push
focal_class.modifiers: @Override public
focal_class.parameters: (Frame frame)
focal_class.return: void
focal_class.signature: void push(Frame frame)
focal_class.class_method_signature: AudioEffector.applyEffects(Frame frame)
focal_class.full_signature: private void applyEffects(Frame frame)
focal_class.identifier: applyEffects
focal_class.modifiers: private
focal_class.parameters: (Frame frame)
focal_class.return: void
focal_class.signature: void applyEffects(Frame frame)
focal_class.class_method_signature: AudioEffector.checkIfOutputQueueHasData()
focal_class.full_signature: @Override public void checkIfOutputQueueHasData()
focal_class.identifier: checkIfOutputQueueHasData
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void checkIfOutputQueueHasData()
focal_class.class_method_signature: AudioEffector.releaseOutputBuffer(int outputBufferIndex)
focal_class.full_signature: @Override public void releaseOutputBuffer(int outputBufferIndex)
focal_class.identifier: releaseOutputBuffer
focal_class.modifiers: @Override public
focal_class.parameters: (int outputBufferIndex)
focal_class.return: void
focal_class.signature: void releaseOutputBuffer(int outputBufferIndex)
focal_class.class_method_signature: AudioEffector.pull(Frame frame)
focal_class.full_signature: @Override public void pull(Frame frame)
focal_class.identifier: pull
focal_class.modifiers: @Override public
focal_class.parameters: (Frame frame)
focal_class.return: void
focal_class.signature: void pull(Frame frame)
focal_class.class_method_signature: AudioEffector.findFreeFrame()
focal_class.full_signature: @Override public Frame findFreeFrame()
focal_class.identifier: findFreeFrame
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Frame
focal_class.signature: Frame findFreeFrame()
focal_class.class_method_signature: AudioEffector.getFrame()
focal_class.full_signature: @Override public Frame getFrame()
focal_class.identifier: getFrame
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Frame
focal_class.signature: Frame getFrame()
focal_class.class_method_signature: AudioEffector.outputFormatChanged()
focal_class.full_signature: private void outputFormatChanged()
focal_class.identifier: outputFormatChanged
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void outputFormatChanged()
focal_class.class_method_signature: AudioEffector.setInputMediaFormat(MediaFormat mediaFormat)
focal_class.full_signature: @Override public void setInputMediaFormat(MediaFormat mediaFormat)
focal_class.identifier: setInputMediaFormat
focal_class.modifiers: @Override public
focal_class.parameters: (MediaFormat mediaFormat)
focal_class.return: void
focal_class.signature: void setInputMediaFormat(MediaFormat mediaFormat)
focal_class.class_method_signature: AudioEffector.isLastFile()
focal_class.full_signature: @Override public boolean isLastFile()
focal_class.identifier: isLastFile
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isLastFile()
focal_class.class_method_signature: AudioEffector.start()
focal_class.full_signature: @Override public void start()
focal_class.identifier: start
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void start()
focal_class.class_method_signature: AudioEffector.stop()
focal_class.full_signature: @Override public void stop()
focal_class.identifier: stop
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void stop()
focal_class.class_method_signature: AudioEffector.setMediaFormat(MediaFormat mediaFormat)
focal_class.full_signature: @Override public void setMediaFormat(MediaFormat mediaFormat)
focal_class.identifier: setMediaFormat
focal_class.modifiers: @Override public
focal_class.parameters: (MediaFormat mediaFormat)
focal_class.return: void
focal_class.signature: void setMediaFormat(MediaFormat mediaFormat)
focal_class.class_method_signature: AudioEffector.configure()
focal_class.full_signature: @Override public void configure()
focal_class.identifier: configure
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void configure()
focal_class.class_method_signature: AudioEffector.setOutputSurface(ISurface surface)
focal_class.full_signature: @Override public void setOutputSurface(ISurface surface)
focal_class.identifier: setOutputSurface
focal_class.modifiers: @Override public
focal_class.parameters: (ISurface surface)
focal_class.return: void
focal_class.signature: void setOutputSurface(ISurface surface)
focal_class.class_method_signature: AudioEffector.getSurface()
focal_class.full_signature: @Override public ISurface getSurface()
focal_class.identifier: getSurface
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ISurface
focal_class.signature: ISurface getSurface()
focal_class.class_method_signature: AudioEffector.waitForSurface(long pts)
focal_class.full_signature: @Override public void waitForSurface(long pts)
focal_class.identifier: waitForSurface
focal_class.modifiers: @Override public
focal_class.parameters: (long pts)
focal_class.return: void
focal_class.signature: void waitForSurface(long pts)
focal_class.class_method_signature: AudioEffector.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: AudioEffector.getOutputMediaFormat()
focal_class.full_signature: @Override public MediaFormat getOutputMediaFormat()
focal_class.identifier: getOutputMediaFormat
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: MediaFormat
focal_class.signature: MediaFormat getOutputMediaFormat()
focal_class.class_method_signature: AudioEffector.reInitInputCommandQueue()
focal_class.full_signature: public void reInitInputCommandQueue()
focal_class.identifier: reInitInputCommandQueue
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void reInitInputCommandQueue()
focal_class.class_method_signature: AudioEffector.setTrackId(int trackId)
focal_class.full_signature: @Override public void setTrackId(int trackId)
focal_class.identifier: setTrackId
focal_class.modifiers: @Override public
focal_class.parameters: (int trackId)
focal_class.return: void
focal_class.signature: void setTrackId(int trackId)
focal_class.superclass: extends MediaCodecPlugin
focal_method.body: @Override
      public Frame getFrame() {
          Frame frame = null;
          if (framesOutput.size() > 0) {
              Iterator<Frame> iterator = framesOutput.iterator();
              frame = iterator.next();
              framesPool.add(frame);
              iterator.remove();
          }
  
          if (framesPool.size() > 0) {
              feedMeIfNotDraining();
          }
          return frame;
      }
focal_method.class_method_signature: AudioEffector.getFrame()
focal_method.full_signature: @Override public Frame getFrame()
focal_method.identifier: getFrame
focal_method.invocations: size iterator next add remove size feedMeIfNotDraining
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: Frame
focal_method.signature: Frame getFrame()