You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
702 B
29 lines
702 B
/*
|
|
* Copyright (c) Hisilicon Technologies Co., Ltd.. 2016-2019. All rights reserved.
|
|
* Description: bootvideo input head file
|
|
*/
|
|
|
|
#ifndef ANDROID_BOOTVEDIOINPUT_H
|
|
#define ANDROID_BOOTVEDIOINPUT_H
|
|
|
|
#include <cstdint>
|
|
#include <sys/types.h>
|
|
|
|
#include "BootvideoUI.h"
|
|
#include "BootvideoPlayer.h"
|
|
|
|
namespace android {
|
|
void *UIRun(void *);
|
|
void StartInput(int volume,
|
|
android::sp<android::BootvideoUI> bUi,
|
|
android::sp<android::BootvideoPlayer> bPlayer);
|
|
void StopInput();
|
|
bool IsPressKeyOK();
|
|
void ResetPressKeyOK();
|
|
int GetVolume(const int& channel);
|
|
void SetVolume(const int& channel, const int& volume);
|
|
void InitAudioManager();
|
|
}; // namespace android
|
|
|
|
#endif
|