Skip to content

NBT App SDK 0.6.0

Pre-release
Pre-release

Choose a tag to compare

@fpoussin fpoussin released this 03 Dec 09:19
· 9 commits to main since this release
v0.6.0
1ced487

New

  • nbt-asound.so: libasound's playback API over the SDK's audio output, for programs that play through ALSA. Their sound goes through NBT Manager's mixer like any application's.
  • Video decoder (nbt/app/video_decoder.hpp, docs/video.md): H.264 to the screen through the head unit's accelerator, with the picture's shape kept (fit or cover) and resync(). Native applications only: modules and guests have none.
  • Microphone (bridge 1.16, capability mic): Lifecycle::mic_fd() and nbt::mic::Input read the car's microphone while the application is on screen. Native applications only for now.
  • Voice prompts: the mixer plays an application's spoken prompts on the car's navigation voice, other sound lowered underneath.
  • Lifecycle::assets_dir() (package assets, NBT Manager 0.20.1 and later) and Lifecycle::language() (the screen language, 0.21.0 and later).
  • nbt/most_wire.h: the record format of NBT Manager's MOST socket.
  • Docs for applications that hold iDrive: touch (bridge 1.14) and the iDrive controller (bridge 1.15).

Fixed

  • The sound source iDrive played before an application (Bluetooth audio, radio) comes back when the application's sound ends.
  • An application that starts playing late keeps the mixer, and a stopped audio input is taken back at once.

Compatibility

  • Bridge through 1.16 and host ABI 1.1.
  • Pins NBT toolchain 1.3.0. Applications use the SDK commit in release/sdk.ref.