This repository defines common information such as media error codes and data types required for audio and video recording and playback.
- SourceType: type of the media source to play
- BufferFlags: flags of the data carried in the buffer
- AudioSourceType: enumeration of audio input source types
- AudioCodecFormat: enumeration of audio data formats
- AudioStreamType: enumeration of audio stream types
- AudioBitWidth: enumeration of sampling bit width
The following table lists the error codes.
foundation/multimedia/utils/lite ├── interfaces # Header file of the data types and media formats └── hals # HAL adaptation APIs └── src # Implementation of the data types and media formats
Build a single repository in the root directory.
# Select the development board. hb set # Build this repository. hb build media_service
C++ 11 or later