# source.h ## **Overview** **Related Modules:** [MultiMedia\_MediaCommon](MultiMedia_MediaCommon.md) **Description:** Declares the **Source** class, which is used to implement source-related operations. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Data Structures
Provides functions to obtain the address of a buffer memory and write the filled buffers into the playback queue. You need to implement the StreamCallback functions in a player object. |
|
Provides functions related to the stream source for upper-layer applications. |
|
OHOS::Media::SourceType : int32_t { OHOS::Media::SourceType::SOURCE_TYPE_URI = 0, OHOS::Media::SourceType::SOURCE_TYPE_FD, OHOS::Media::SourceType::SOURCE_TYPE_STREAM } |