]> git.basschouten.com Git - openhab-addons.git/blob
a3c87d380e8bab31c0f124a1625350b1a78a7847
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2021 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License 2.0 which is available at
9  * http://www.eclipse.org/legal/epl-2.0
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.pulseaudio.internal.items;
14
15 /**
16  * A Source is a device which is the source of an audio stream (recording
17  * device) For example microphones or line-in jacks.
18  *
19  * @author Tobias Bräutigam - Initial contribution
20  */
21 public class Source extends AbstractAudioDeviceConfig {
22
23     protected Sink monitorOf;
24
25     public Source(int id, String name, Module module) {
26         super(id, name, module);
27     }
28
29     public Sink getMonitorOf() {
30         return monitorOf;
31     }
32
33     public void setMonitorOf(Sink sink) {
34         this.monitorOf = sink;
35     }
36 }