filmstro_ffmpeg
 All Classes Files Functions Friends Macros
filmstro_audiohelpers_SharedFormatManager.h
Go to the documentation of this file.
1 /*
2  ==============================================================================
3  Copyright (c) 2017, Filmstro Ltd. - Daniel Walz
4  All rights reserved.
5 
6  Redistribution and use in source and binary forms, with or without modification,
7  are permitted provided that the following conditions are met:
8  1. Redistributions of source code must retain the above copyright notice, this
9  list of conditions and the following disclaimer.
10  2. Redistributions in binary form must reproduce the above copyright notice,
11  this list of conditions and the following disclaimer in the documentation
12  and/or other materials provided with the distribution.
13  3. Neither the name of the copyright holder nor the names of its contributors
14  may be used to endorse or promote products derived from this software without
15  specific prior written permission.
16 
17  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
18  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20  IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
21  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
24  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
25  OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
26  OF THE POSSIBILITY OF SUCH DAMAGE.
27  ==============================================================================
28  \class SharedFormatManager
29  \file filmstro_audiobasics_SharedFormatManager.h
30  \brief A FormatManager that registers audio formats by default
31 
32  \author Daniel Walz / Filmstro Ltd.
33  \date October 10th 2016
34 
35  \description A FormatManager that registers audio formats by default, so it
36  can be used as SharedResourcePointer
37 
38  ==============================================================================
39  */
40 
41 #ifndef filmstro_audiobasics_SharedFormatManager_h
42 #define filmstro_audiobasics_SharedFormatManager_h
43 
48 class SharedFormatManager : public juce::AudioFormatManager
49 {
50 public:
52  {
53  registerBasicFormats();
54  }
55 };
56 
57 
58 #endif /* filmstro_audiobasics_SharedFormatManager_h */
This is a AudioFormatManager that registers all basic formats when created.
Definition: filmstro_audiohelpers_SharedFormatManager.h:48
SharedFormatManager()
Definition: filmstro_audiohelpers_SharedFormatManager.h:51