summaryrefslogtreecommitdiffstats
path: root/Audio-Interface
diff options
context:
space:
mode:
authorTobias Jahnke <tobias.jahnke@microchip.com>2017-12-20 11:33:25 +0100
committerTobias Jahnke <tobias.jahnke@microchip.com>2017-12-20 11:33:25 +0100
commit6d4cbab774c0fa632ccdf4add35b87d0828ac765 (patch)
tree9bea4bc06d7e34ebc5357f034f95b25409533cff /Audio-Interface
parent2417799a20cf4e40db0510c8ed256a64ff692c17 (diff)
Bug-AGL: SPEC-1203 The initial value for Master_Playback_Volume was not set correctly to 80% and the initial value for Master_Ramp was missing. Fixes both issues. Change-Id: I5bc3000ac864d4d7a156f59d276992375ce3fbe0 Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com>
Diffstat (limited to 'Audio-Interface')
0 files changed, 0 insertions, 0 deletions
ral.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
###########################################################################
# Copyright 2015, 2016, 2017 IoT.bzh
#
# author: Fulup Ar Foll <rfulup@iot.bzh>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
###########################################################################

# This is a CMakeLists.txt file meant to be included as submodule into an AGL
# app using app-templates subdmodules
message(STATUS "${Yellow}You use the afb-helpers git submodule. Please consider using the separated library.${ColorReset}")
message(STATUS "${Yellow}Migration instructions: http://docs.automotivelinux.org/master/docs/devguides/en/dev/reference/afb-helpers/usage.html${ColorReset}")

# Add target to project dependency list
PROJECT_TARGET_ADD(afb-helpers)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)

	set(AFB_HELPERS_SRCS wrap-json.c filescan-utils.c escape.c)

	option(AFB_HELPERS_QTWSCLIENT "Enable the Qt's websocket client to Application Framework Binders" OFF)
	find_package(CURL)

	if (AFB_HELPERS_QTWSCLIENT)
		message(STATUS "Qt's WebSocket AFB Client: Enabled!")
		set(AFB_HELPERS_SRCS ${AFB_HELPERS_SRCS} qafbwebsocketclient.cpp qafbwebsocketclient.h)
		find_package(Qt5WebSockets REQUIRED)
	else()
		message(STATUS "Qt's WebSocket AFB Client: Disabled!")
	endif()

	if (CURL_FOUND)
		message(STATUS "CURL wrapping helpers: Enabled!")
		set(AFB_HELPERS_SRCS ${AFB_HELPERS_SRCS} curl-wrap.c)
	else()
		message(STATUS "CURL wrapping helpers: Disabled!")
	endif()

	# Define targets
	ADD_LIBRARY(${TARGET_NAME} STATIC ${AFB_HELPERS_SRCS})

	if (AFB_HELPERS_QTWSCLIENT)
		target_link_libraries(${TARGET_NAME} Qt5::WebSockets)
		#qt5_use_modules(${TARGET_NAME} WebSockets)
	endif()

	if (CURL_FOUND)
		target_link_libraries(${TARGET_NAME} curl)
	endif()

	# Library properties
	SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES
		OUTPUT_NAME ${TARGET_NAME}
	)

	# Define target includes
	TARGET_INCLUDE_DIRECTORIES(${TARGET_NAME}
		PUBLIC  ${CMAKE_CURRENT_SOURCE_DIR}
	)