reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
ConversationParticipantAssignment.cxx
Go to the documentation of this file.
2#include "Participant.hxx"
3#include "ReconSubsystem.hxx"
4
5#include <rutil/Log.hxx>
6#include <rutil/Logger.hxx>
7
8using namespace recon;
9using namespace resip;
10
11#define RESIPROCATE_SUBSYSTEM ReconSubsystem::RECON
12
14 unsigned int inputGain,
15 unsigned int outputGain) :
16 mParticipant(participant),
17 mInputGain(inputGain),
18 mOutputGain(outputGain)
19{
20}
21
24{
25 return mParticipant;
26}
27
28void
30{
31 mInputGain = inputGain;
32}
33
34unsigned int
39
40
41void
43{
44 mOutputGain = outputGain;
45}
46
47unsigned int
49{
50 return mOutputGain;
51}
52
53
54/* ====================================================================
55
56 Copyright (c) 2007-2008, Plantronics, Inc.
57 All rights reserved.
58
59 Redistribution and use in source and binary forms, with or without
60 modification, are permitted provided that the following conditions are
61 met:
62
63 1. Redistributions of source code must retain the above copyright
64 notice, this list of conditions and the following disclaimer.
65
66 2. Redistributions in binary form must reproduce the above copyright
67 notice, this list of conditions and the following disclaimer in the
68 documentation and/or other materials provided with the distribution.
69
70 3. Neither the name of Plantronics nor the names of its contributors
71 may be used to endorse or promote products derived from this
72 software without specific prior written permission.
73
74 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
75 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
76 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
77 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
78 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
79 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
80 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
81 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
82 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
83 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
84 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
85
86 ==================================================================== */
ConversationParticipantAssignment(Participant *participant=0, unsigned int inputGain=100, unsigned int outputGain=100)
This is the base class for a RemoteParticipant, LocalParticipant and a MediaResourceParticipant.
dcm! – add UnusedChecking(_enum) below;