Files
FastCarPlay/settings.txt
T
2025-05-31 16:42:21 +03:00

146 lines
4.8 KiB
Plaintext

##############################################################################
# 1.General settings
##############################################################################
# Dongle configuration (use lsusb to find yours)
# Note that vendor id and product id are in decimals, not hex here
#vendor-id = 4884 # 0x1314
#product-id = 5408 # 0x1520
# Requested image from phone
#source-width = 720
#source-height = 576
#source-fps = 50
# Application drawing settings widthxheight
#width = 720
#height = 576
# Application drawing target framerate. This can responsiveness.
# If the setting is lower than source-fps the framse will be dropped
# If the setting is not multiple of source-fps can still cause frame drops cause out-of-sync
# source images and drawing times
#fps = 50
# Application starts in full screen
#fullscreen = true
# Enable generic console logging. Can reduce performace
#logging = false
##############################################################################
# 2.Device configurations
##############################################################################
# USB communication protocol encryption
# From 2024 Carlinkit has an optinal USB protocol encryption
# It can happened that it will become mandatory and device will not work withou it
# So if you have updated your device and it stop working try to enable encryption
#encryption = false
# Enable automatic connection to wireless devices
#autoconnect = true
# Eanble weak charging current (standart usb 0.5A).
# If you have a powerfull poswer supply you can try to disable this.
# If you have troubles with wired connection try to enable this, cause it might be cause of power lack.
#weak-charge = true
# Driving position, true for left hand drive, false for right hand drive
#left-hand-drive = true
# Nigh mode. 0 for day mode, 1 for night mode, 2 for automatic
#night-mode = 2
# Enable 5Ghz wifi. Otherwise will use 2,4Ghz
#wifi-5 = true
# Enable bluetooth audio. If enables the audio will be played not through the dongle but through bluetooth connection
#bluetooth-audio = false
# Microphone in use. Copied directly from carlinkit app.
# 1 - Car
# 2 - Box
# 3 - Phone
#mic-type = 1
# Target DPI reported to device. Set 0 for default. Not sure if it affects anything
#dpi = 0
##############################################################################
# 3.Application configuration
##############################################################################
# Font size for messgaes on screen. Set to 0 is you do not want any
#font-size = 30
# Enable vsync. This reduce tearing but can dramatically affect performance on low end systems
#vsync = false
# Corrects aspect of UI
#aspect-correction = 1
# Scaler algorithm if application drawing is differen from source image
# It's recommended to keep application and source values same cause scaling
# takes a lot of CPU and can cause artifacts on slow devices
# The image will still be scaled to window size using ginternal GL scaling.
# See fast-render-scale for that
# options
# SWS_FAST_BILINEAR 1
# SWS_BILINEAR 2
# SWS_BICUBIC 4
# SWS_X 8
# SWS_POINT 16
# SWS_AREA 32
# SWS_BICUBLIN 64
# SWS_GAUSS 128
# SWS_SINC 256
# SWS_LANCZOS 512
# SWS_SPLINE 1024
#scaler = 2
# Select faster method of scaling image to window size (nearest) or better quality (linear)
#fast-render-scale = false
# Size of video and audio buffers. Increase if you see artifacts
#video-buffer-size = 32
#audio-buffer-size = 16
# Audio delay. Fill the buffer to this value before start playing. Increase if you hear audio artifacts.
# Should be less than audio-buffer-size
#audio-buffer-wait = 2
# Reduce volume of main audio source when there is higher priority audio stream.
# This will reduce volume of the music if there is navigation instructions
# Reduction level from 1 (no reduction) to 0 (fully silenced)
#audio-fade = 0.3
# Run script or app on phone connected and disconnected.
# This script/app should be fast, otherwise it will block system.
# If you need to start application in background use scripts with fork
#
# #!/bin/bash
# MyApp &
# echo $! > app.pid
#
# #!/bin/bash
# if [ -f app.pid ]; then
# kill $(cat app.pid)
# rm app.pid
# fi
#
#on-connect-script =
#on-disconnect-script =
##############################################################################
# 4.Debug
##############################################################################
# Protocol debug level. Works only on builds only with PROTOCOL_DEBUG flag set.
# Add -DPROTOCOL_DEBUG to CXXCOMMON to enable protocol debugging and rebuild.
# 0 - nothing
# 1 - unknown commands
# 2 - all commands except data streams
# 3 - include outgoing commands
# 4 - log everything
# protocol-debug = 0