Project: /youtube/cobalt/_project.yaml Book: /youtube/cobalt/_book.yaml

Starboard Configuration Reference Guide

Media Configuration

Properties
SB_HAS_QUIRK_SUPPORT_INT16_AUDIO_SAMPLES

The implementation is allowed to support kSbMediaAudioSampleTypeInt16 only when this macro is defined.

By default, this property is undefined.

Memory Configuration

Properties
SB_CAN_MAP_EXECUTABLE_MEMORY

Whether this platform can map executable memory. Implies SB_HAS_MMAP. This is required for platforms that want to JIT.

The default value in the Stub implementation is 1

Network Configuration

Properties
SB_HAS_IPV6

Specifies whether this platform supports IPV6.

The default value in the Stub implementation is 1

System Header Configuration

Any system headers listed here that are not provided by the platform will be emulated in starboard/types.h.

Properties
SB_HAS_SYS_TYPES_H

Whether the current platform provides the standard header sys/types.h.

The default value in the Stub implementation is 0
SB_HAS_SSIZE_T

Whether the current platform provides ssize_t.

The default value in the Stub implementation is 1
SB_IS_WCHAR_T_UTF32

Type detection for wchar_t.

The default value in the Stub implementation is 1
SB_IS_WCHAR_T_UTF16

The default value in the Stub implementation is 1
SB_IS_WCHAR_T_UNSIGNED

Chrome only defines this for ARMEL. Chrome has an exclusion for iOS here, we should too when we support iOS.

The default value in the Stub implementation is 1