Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / src / app / clusters / media-playback-server / media-playback-server.cpp
1 /**
2  *
3  *    Copyright (c) 2021 Project CHIP Authors
4  *
5  *    Licensed under the Apache License, Version 2.0 (the "License");
6  *    you may not use this file except in compliance with the License.
7  *    You may obtain a copy of the License at
8  *
9  *        http://www.apache.org/licenses/LICENSE-2.0
10  *
11  *    Unless required by applicable law or agreed to in writing, software
12  *    distributed under the License is distributed on an "AS IS" BASIS,
13  *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  *    See the License for the specific language governing permissions and
15  *    limitations under the License.
16  */
17
18 /**
19  *
20  *    Copyright (c) 2021 Silicon Labs
21  *
22  *    Licensed under the Apache License, Version 2.0 (the "License");
23  *    you may not use this file except in compliance with the License.
24  *    You may obtain a copy of the License at
25  *
26  *        http://www.apache.org/licenses/LICENSE-2.0
27  *
28  *    Unless required by applicable law or agreed to in writing, software
29  *    distributed under the License is distributed on an "AS IS" BASIS,
30  *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31  *    See the License for the specific language governing permissions and
32  *    limitations under the License.
33  */
34 /****************************************************************************
35  * @file
36  * @brief Routines for the Media Playback plugin, the
37  *server implementation of the Media Playback cluster.
38  *******************************************************************************
39  ******************************************************************************/
40
41 #include <app/util/af.h>
42
43 bool emberAfMediaPlaybackClusterFastForwardRequestCallback()
44 {
45     EmberAfStatus status = EMBER_ZCL_STATUS_SUCCESS;
46     emberAfSendImmediateDefaultResponse(status);
47     return true;
48 }
49
50 bool emberAfMediaPlaybackClusterNextRequestCallback()
51 {
52     EmberAfStatus status = EMBER_ZCL_STATUS_SUCCESS;
53     emberAfSendImmediateDefaultResponse(status);
54     return true;
55 }
56
57 bool emberAfMediaPlaybackClusterPauseRequestCallback()
58 {
59     EmberAfStatus status = EMBER_ZCL_STATUS_SUCCESS;
60     emberAfSendImmediateDefaultResponse(status);
61     return true;
62 }
63
64 bool emberAfMediaPlaybackClusterPlayRequestCallback()
65 {
66     EmberAfStatus status = EMBER_ZCL_STATUS_SUCCESS;
67     emberAfSendImmediateDefaultResponse(status);
68     return true;
69 }
70
71 bool emberAfMediaPlaybackClusterPreviousRequestCallback()
72 {
73     EmberAfStatus status = EMBER_ZCL_STATUS_SUCCESS;
74     emberAfSendImmediateDefaultResponse(status);
75     return true;
76 }
77
78 bool emberAfMediaPlaybackClusterRewindRequestCallback()
79 {
80     EmberAfStatus status = EMBER_ZCL_STATUS_SUCCESS;
81     emberAfSendImmediateDefaultResponse(status);
82     return true;
83 }
84
85 bool emberAfMediaPlaybackClusterStopRequestCallback()
86 {
87     EmberAfStatus status = EMBER_ZCL_STATUS_SUCCESS;
88     emberAfSendImmediateDefaultResponse(status);
89     return true;
90 }
91
92 bool emberAfMediaPlaybackClusterSkipBackwardRequestCallback()
93 {
94     EmberAfStatus status = EMBER_ZCL_STATUS_SUCCESS;
95     emberAfSendImmediateDefaultResponse(status);
96     return true;
97 }
98
99 bool emberAfMediaPlaybackClusterStartOverRequestCallback()
100 {
101     EmberAfStatus status = EMBER_ZCL_STATUS_SUCCESS;
102     emberAfSendImmediateDefaultResponse(status);
103     return true;
104 }
105
106 bool emberAfMediaPlaybackClusterSkipForwardRequestCallback()
107 {
108     EmberAfStatus status = EMBER_ZCL_STATUS_SUCCESS;
109     emberAfSendImmediateDefaultResponse(status);
110     return true;
111 }