
221220000 张三 Linux zzy 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux 13:06:42 up 8 days, 15:51, 1 user, load average: 0.25, 0.10, 0.02
20 lines
588 B
C
20 lines
588 B
C
#ifndef __DEVIDE_H__
|
|
#define __DEVIDE_H__
|
|
|
|
#include <common.h>
|
|
|
|
size_t serial_write(const void *buf, size_t offset, size_t len);
|
|
size_t events_read(void *buf, size_t offset, size_t len);
|
|
size_t dispinfo_read(void *buf, size_t offset, size_t len);
|
|
size_t fb_write(const void *buf, size_t offset, size_t len);
|
|
|
|
|
|
size_t sb_write(const void *buf, size_t offset, size_t len);
|
|
// freq, channels, samples
|
|
size_t sbctl_write(const void *buf, size_t offset, size_t len);
|
|
// the number of sound buffer unused length
|
|
size_t sbctl_read(void *buf, size_t offset, size_t len);
|
|
|
|
int _fb_size();
|
|
|
|
#endif |