Lines Matching +full:0 +full:x00 +full:- +full:positive

7  * Copyright (c) 2019 - 2024 Nordic Semiconductor ASA
9 * SPDX-License-Identifier: Apache-2.0
21 * @version 0.8.0
66 /** A 32-bit signed parameter. The parameter value depends on the @ref mpl_cmd.opcode */
95 /** Concatenated search control items - (type, length, param) */
102 * All values from -128 to 127 allowed, only some defined
106 #define MEDIA_PROXY_PLAYBACK_SPEED_MIN -128
108 #define MEDIA_PROXY_PLAYBACK_SPEED_QUARTER -128
110 #define MEDIA_PROXY_PLAYBACK_SPEED_HALF -64
112 #define MEDIA_PROXY_PLAYBACK_SPEED_UNITY 0
122 * The allowed values for seeking speed are the range -64 to -4
123 * (endpoints included), the value 0, and the range 4 to 64
127 /** Maximum seeking speed - Can be negated */
129 /** Minimum seeking speed - Can be negated */
132 #define MEDIA_PROXY_SEEKING_SPEED_FACTOR_ZERO 0
140 #define MEDIA_PROXY_PLAYING_ORDER_SINGLE_ONCE 0x01
142 #define MEDIA_PROXY_PLAYING_ORDER_SINGLE_REPEAT 0x02
144 #define MEDIA_PROXY_PLAYING_ORDER_INORDER_ONCE 0x03
146 #define MEDIA_PROXY_PLAYING_ORDER_INORDER_REPEAT 0x04
148 #define MEDIA_PROXY_PLAYING_ORDER_OLDEST_ONCE 0x05
150 #define MEDIA_PROXY_PLAYING_ORDER_OLDEST_REPEAT 0x06
152 #define MEDIA_PROXY_PLAYING_ORDER_NEWEST_ONCE 0x07
154 #define MEDIA_PROXY_PLAYING_ORDER_NEWEST_REPEAT 0x08
156 #define MEDIA_PROXY_PLAYING_ORDER_SHUFFLE_ONCE 0x09
158 #define MEDIA_PROXY_PLAYING_ORDER_SHUFFLE_REPEAT 0x0a
165 * Note that playing order 1 corresponds to bit 0, and so on.
169 #define MEDIA_PROXY_PLAYING_ORDERS_SUPPORTED_SINGLE_ONCE BIT(0)
195 #define MEDIA_PROXY_STATE_INACTIVE 0x00
197 #define MEDIA_PROXY_STATE_PLAYING 0x01
199 #define MEDIA_PROXY_STATE_PAUSED 0x02
201 #define MEDIA_PROXY_STATE_SEEKING 0x03
203 #define MEDIA_PROXY_STATE_LAST 0x04
211 #define MEDIA_PROXY_OP_PLAY 0x01
213 #define MEDIA_PROXY_OP_PAUSE 0x02
215 #define MEDIA_PROXY_OP_FAST_REWIND 0x03
217 #define MEDIA_PROXY_OP_FAST_FORWARD 0x04
222 #define MEDIA_PROXY_OP_STOP 0x05
225 #define MEDIA_PROXY_OP_MOVE_RELATIVE 0x10
231 #define MEDIA_PROXY_OP_PREV_SEGMENT 0x20
236 #define MEDIA_PROXY_OP_NEXT_SEGMENT 0x21
241 #define MEDIA_PROXY_OP_FIRST_SEGMENT 0x22
246 #define MEDIA_PROXY_OP_LAST_SEGMENT 0x23
251 #define MEDIA_PROXY_OP_GOTO_SEGMENT 0x24
254 #define MEDIA_PROXY_OP_PREV_TRACK 0x30
256 #define MEDIA_PROXY_OP_NEXT_TRACK 0x31
258 #define MEDIA_PROXY_OP_FIRST_TRACK 0x32
260 #define MEDIA_PROXY_OP_LAST_TRACK 0x33
262 #define MEDIA_PROXY_OP_GOTO_TRACK 0x34
265 #define MEDIA_PROXY_OP_PREV_GROUP 0x40
267 #define MEDIA_PROXY_OP_NEXT_GROUP 0x41
269 #define MEDIA_PROXY_OP_FIRST_GROUP 0x42
271 #define MEDIA_PROXY_OP_LAST_GROUP 0x43
273 #define MEDIA_PROXY_OP_GOTO_GROUP 0x44
286 #define MEDIA_PROXY_OP_SUP_PLAY BIT(0)
338 #define MEDIA_PROXY_CMD_SUCCESS 0x01
340 #define MEDIA_PROXY_CMD_NOT_SUPPORTED 0x02
346 #define MEDIA_PROXY_CMD_PLAYER_INACTIVE 0x03
351 #define MEDIA_PROXY_CMD_CANNOT_BE_COMPLETED 0x04
359 #define MEDIA_PROXY_SEARCH_TYPE_TRACK_NAME 0x01
361 #define MEDIA_PROXY_SEARCH_TYPE_ARTIST_NAME 0x02
363 #define MEDIA_PROXY_SEARCH_TYPE_ALBUM_NAME 0x03
365 #define MEDIA_PROXY_SEARCH_TYPE_GROUP_NAME 0x04
367 #define MEDIA_PROXY_SEARCH_TYPE_EARLIEST_YEAR 0x05
369 #define MEDIA_PROXY_SEARCH_TYPE_LATEST_YEAR 0x06
371 #define MEDIA_PROXY_SEARCH_TYPE_GENRE 0x07
373 #define MEDIA_PROXY_SEARCH_TYPE_ONLY_TRACKS 0x08
375 #define MEDIA_PROXY_SEARCH_TYPE_ONLY_GROUPS 0x09
384 #define MEDIA_PROXY_SEARCH_SUCCESS 0x01
386 #define MEDIA_PROXY_SEARCH_FAILURE 0x02
395 #define MEDIA_PROXY_GROUP_OBJECT_TRACK_TYPE 0x00
397 #define MEDIA_PROXY_GROUP_OBJECT_GROUP_TYPE 0x01
423 * @param err Error value. 0 on success, or errno on negative value.
436 * @param err Error value. 0 on success, GATT error on positive value
449 * @param err Error value. 0 on success, GATT error on positive value
462 * @param err Error value. 0 on success, GATT error on positive value
475 * @param err Error value. 0 on success, GATT error on positive value
487 * @param err Error value. 0 on success, GATT error on positive value
499 * @param err Error value. 0 on success, GATT error on positive value
512 * @param err Error value. 0 on success, GATT error on positive value
526 * @param err Error value. 0 on success, GATT error on positive value
539 * @param err Error value. 0 on success, GATT error on positive value
553 * @param err Error value. 0 on success, GATT error on positive value
566 * @param err Error value. 0 on success, GATT error on positive value
579 * @param err Error value. 0 on success, GATT error on positive value
592 * @param err Error value. 0 on success, GATT error on positive value
606 * @param err Error value. 0 on success, GATT error on positive value
619 * @param err Error value. 0 on success, GATT error on positive value
633 * @param err Error value. 0 on success, GATT error on positive value
646 * @param err Error value. 0 on success, GATT error on positive value
659 * @param err Error value. 0 on success, GATT error on positive value
673 * @param err Error value. 0 on success, GATT error on positive value
686 * @param err Error value. 0 on success, GATT error on positive value
700 * @param err Error value. 0 on success, GATT error on positive value
713 * @param err Error value. 0 on success, GATT error on positive value
726 * @param err Error value. 0 on success, GATT error on positive value
741 * @param err Error value. 0 on success, GATT error on positive value
754 * @param err Error value. 0 on success, GATT error on positive value
767 * @param err Error value. 0 on success, GATT error on positive value
781 * @param err Error value. 0 on success, GATT error on positive value
794 * @param err Error value. 0 on success, GATT error on positive value
809 * The Search Results Object ID has a separate callback - search_results_id_recv().
812 * @param err Error value. 0 on success, GATT error on positive value
825 * @param err Error value. 0 on success, GATT error on positive value
838 * @param err Error value. 0 on success, GATT error on positive value
850 * @return 0 if success, errno on failure
869 * @return 0 if success, errno on failure
878 * @return 0 if success, errno on failure.
888 * See the Media Control Service spec v1.0 sections 3.2 and
895 * @return 0 if success, errno on failure.
913 * @return 0 if success, errno on failure.
925 * @return 0 if success, errno on failure.
938 * @return 0 if success, errno on failure.
947 * from the beginning of the track of the track for positive
954 * @return 0 if success, errno on failure.
965 * A speed parameter of 0 corresponds to unity speed playback
967 * -128 corresponds to playback at one fourth of normal speed,
973 * @return 0 if success, errno on failure.
994 * @return 0 if success, errno on failure.
1002 * seeking. It is a factor, relative to real-time playback
1003 * speed - a factor four means seeking happens at four times
1004 * the real-time playback speed. Positive values are for
1007 * The seeking speed is not settable - a non-zero seeking speed
1012 * @return 0 if success, errno on failure.
1022 * See the Media Control Service spec v1.0 sections 3.10 and
1029 * @return 0 if success, errno on failure.
1039 * See the Media Control Service spec v1.0 sections 3.11 and
1046 * @return 0 if success, errno on failure.
1061 * @return 0 if success, errno on failure.
1075 * @return 0 if success, errno on failure.
1089 * @return 0 if success, errno on failure.
1101 * See the Media Control Service spec v1.0 sections 3.14 and
1108 * @return 0 if success, errno on failure.
1118 * See the Media Control Service spec v1.0 sections 3.14 and
1125 * @return 0 if success, errno on failure.
1140 * @return 0 if success, errno on failure.
1149 * @return 0 if success, errno on failure.
1161 * @return 0 if success, errno on failure.
1173 * @return 0 if success, errno on failure.
1184 * @return 0 if success, errno on failure.
1193 * May result in two callbacks - one for the actual sending of the command to the
1199 * @return 0 if success, errno on failure.
1211 * @return 0 if success, errno on failure.
1223 * - one for the actual sending of the search to the player
1224 * - one for the result code for the search from the player
1225 * - if the search is successful, one for the search results object ID in the OTs
1232 * @return 0 if success, errno on failure.
1250 * @return 0 if success, errno on failure.
1263 * @return 0 if success, errno on failure.
1287 * See the Media Control Service spec v1.0 sections 3.2 and
1336 * from the beginning of the track of the track for positive
1351 * A speed parameter of 0 corresponds to unity speed playback
1353 * -128 corresponds to playback at one fourth of normal speed,
1383 * seeking. It is a factor, relative to real-time playback
1384 * speed - a factor four means seeking happens at four times
1385 * the real-time playback speed. Positive values are for
1388 * The seeking speed is not settable - a non-zero seeking speed
1401 * See the Media Control Service spec v1.0 sections 3.10 and
1414 * See the Media Control Service spec v1.0 sections 3.11 and
1458 * See the Media Control Service spec v1.0 sections 3.14 and
1471 * See the Media Control Service spec v1.0 sections 3.14 and
1530 * For command opcodes (play, pause, ...) - see the MEDIA_PROXY_OP_*
1591 * The media proxy may call any non-NULL function pointers in the
1596 * @return 0 if success, errno on failure