| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
virtio-snd: updated the return value handling for OhVolume implementation Updated the return value handling for OhVolume implementation. Signed-off-by: Hu Nong Da <hunongda@huawei.com> (cherry picked from commit 41255f6aa5ab1c157420b542f378e79ab1de5f5a) | 2 个月前 | |
virtio-snd: sync host mute state and notify guest 1. Added implementation to retrieve the mute state from the host audio backend. 2. When the host is in a muted state and the previous volume value is unavailable, we now default the 'previous volume' to be identical to the current 'ctl.volume'. Signed-off-by: Hu Nong Da <hunongda@huawei.com> (cherry picked from commit db12ac7b26bbc6c0d2c344d939cf6a9a2a14f8b6) | 2 个月前 | |
ohcam: Add MJPEG format support Description: Add MJPEG format to FRAME_FORMAT_WHITELIST Signed-off-by: Fei Xu <xufei30@huawei.com> | 7 个月前 | |
ohcamera:set first caller tokenID for camera thread On OHOS, there is a mode named "超级隐私模式",on which camera cannot be accessed, and OHOS will pop up a window for telling users that camera is unaccessable. Now no windows appears, when camera is accessed in VM on "超级隐私模式",just because we don't pass a HAP's tokenID to related SA when we open OHOS camera. So we need to set first caller tokenID, a HAP tokenID. Signed-off-by: zhanghan64 <zhanghan64@huawei.com> | 1 年前 | |
audio: add audio interface abstraction crate Add a new audio crate that provides: - AudioInterface trait for audio backend abstraction - AudioStreamIo trait for stream I/O operations - VolumeControl and VolumeListener for volume management - Auth abstraction for record authority - ALSA backend - OHAudio backend Signed-off-by: Hu Nong Da <hunongda@huawei.com> (cherry picked from commit 17d256fad4d501c05778479af1f1be53d9772077) | 2 个月前 | |
usbhost: Refactor unsafe calls to ensure the legality of dev_handle This patch move the use of addr_of_mut! from OhUsbDev's new function to OhUsb's open_device function to avoid safety issues. At the time of calling addr_of_mut!, we call related API sequentially for specified ctx and dev_handle will be valid. Signed-off-by: Fan Xuan Zhe <fanxuanzhe@huawei.com> | 6 个月前 | |
ohos-binding/libyuv: export functions as unsafe Let's export libyuv functions as unsafe and later the caller should guarantee memory validation. Signed-off-by: Fei Xu <xufei30@huawei.com> | 7 个月前 |