LCOV - code coverage report
Current view: top level - media/libsoundtouch/src - SoundTouchFactory.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 6 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
       2             : /* vim:set ts=2 sw=2 sts=2 et cindent: */
       3             : /* This Source Code Form is subject to the terms of the Mozilla Public
       4             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       5             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
       6             : 
       7             : #include <soundtouch/SoundTouch.h>
       8             : 
       9             : namespace soundtouch
      10             : {
      11             : 
      12             : EXPORT
      13             : soundtouch::SoundTouch*
      14           0 : createSoundTouchObj()
      15             : {
      16           0 :   return new soundtouch::SoundTouch();
      17             : }
      18             : 
      19             : EXPORT
      20             : void
      21           0 : destroySoundTouchObj(soundtouch::SoundTouch* aObj)
      22             : {
      23             :   // SoundTouch runs deletes in its destructor, meaning they need to be run in
      24             :   // the DLL context. Gecko should send its SoundTouch obj pointers here to be
      25             :   // cleaned up.
      26           0 :   if (aObj) {
      27           0 :     delete aObj;
      28             :   }
      29           0 : }
      30             : 
      31             : }

Generated by: LCOV version 1.13