sakumisu
|
08d1ce4ab5
|
style(class): remove device warning logs for memory
Signed-off-by: sakumisu <1203593632@qq.com>
|
2026-02-03 21:04:14 +08:00 |
|
sakumisu
|
bf1d9db9a1
|
update(demo): format uac demos with macros
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-12-05 18:33:09 +08:00 |
|
sakumisu
|
bff8a632a9
|
feat(class): add usb_osal_thread_schedule_other to allow the applications which use the struct usbh_xxx to exit properly before free struct usbh_xxx
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-06-03 22:43:35 +08:00 |
|
sakumisu
|
8aad86f66b
|
update(class): add weak api to avoid undefine symbol(not use such class but add)
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-04-28 21:32:19 +08:00 |
|
sakumisu
|
a838edb3e6
|
fix wformat warning
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-04-23 21:38:54 +08:00 |
|
sakumisu
|
83695e77cf
|
update: add usb align up for every buffer when use dcache clean&invalid api
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-03-28 13:29:04 +08:00 |
|
sakumisu
|
c09ceb2537
|
fix(demo): split feedback caculate macro with AUDIO_FREQ_TO_FEEDBACK_XS and AUDIO_FEEDBACK_TO_BUF_XS
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-02-25 22:12:16 +08:00 |
|
sakumisu
|
0a295ee5eb
|
fix(audio): fix audio feedback value caculation
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-01-16 16:29:13 +08:00 |
|
sakumisu
|
a1ac569236
|
update(demo): add macro for caculating feedback value
|
2025-01-13 21:28:06 +08:00 |
|
sakumisu
|
570d2b5ff8
|
feat(demo): add feedback for audio v1 speaker template
|
2024-12-28 17:48:54 +08:00 |
|
sakumisu
|
ac3be8cb3a
|
update(class/audio): change volume unit with dB, fix uac2.0 volume range
|
2024-11-25 16:21:25 +08:00 |
|
sakumisu
|
d6aae26371
|
update(class/audio/usbh_auido): update audio volume and mute api, caculate volume with volume min & max
|
2024-10-30 22:19:37 +08:00 |
|
electretmike
|
149fb046bc
|
fix: rename class to class_code, for c++ compatibility (#269)
Co-authored-by: Michiel van Leeuwen <michiel@embeddedacoustics.com>
|
2024-10-30 15:11:46 +08:00 |
|
sakumisu
|
525884a00f
|
feat(class/audio/usb_audio): add audio altsetting desc init macros
|
2024-09-30 16:46:58 +08:00 |
|
sakumisu
|
02340e0f44
|
chore: static code analysis
|
2024-09-19 09:50:18 +08:00 |
|
sakumisu
|
b56b67182a
|
refactor(class/audio/usbh_audio): refactor getting audio control info
|
2024-09-08 22:12:29 +08:00 |
|
sakumisu
|
35da8d6747
|
fix: fix -Wunused-parameter warning with -Wextra cflag
|
2024-08-21 20:08:47 +08:00 |
|
sakumisu
|
755d067650
|
update: check class->hport validity
|
2024-06-23 14:16:57 +08:00 |
|
sakumisu
|
47e6ed1c75
|
fix(class/audio/usbh_audio): fix sample frequence
|
2024-06-16 20:59:46 +08:00 |
|
sakumisu
|
5fec929b93
|
support id table for multi vid pid
|
2024-05-03 18:54:36 +08:00 |
|
sakumisu
|
23e2787a43
|
add user_data param in host class for users
|
2024-04-24 22:40:55 +08:00 |
|
sakumisu
|
c8be4d6fd3
|
change INFO to RAW
|
2024-04-07 23:31:04 +08:00 |
|
sakumisu
|
d1c7fa8c19
|
support multi port api for device
|
2024-02-06 19:52:22 +08:00 |
|
sakumisu
|
eeb304ae08
|
update log tag
|
2024-01-30 23:04:35 +08:00 |
|
sakumisu
|
14f1f597f1
|
add usb errno, do not use system errno
|
2023-12-05 21:34:32 +08:00 |
|
sakumisu
|
5bbe2a97f2
|
refactor urb, add ep & hport in urb to make hardware pipe more reusable
|
2023-11-16 19:56:52 +08:00 |
|
sakimisu
|
c8b832e1a0
|
fix function name
|
2023-08-05 11:08:24 +08:00 |
|
Zhihong Chen
|
4d7938e349
|
update for midi
- add MidiCodeIndexNumber enum
- update midi descriptor. Audio v1.0's endpoint has 9 bytes instead of 7.
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
|
2023-08-05 11:05:44 +08:00 |
|
sakumisu
|
c8ecf31c99
|
remove ununsed code
|
2023-07-13 20:13:51 +08:00 |
|
sakimisu
|
3057f41020
|
use static memory to malloc & free class
|
2023-07-12 22:48:18 +08:00 |
|
sakimisu
|
1c7110bd86
|
refactor audio device class
|
2023-06-21 20:43:35 +08:00 |
|
Zhihong Chen
|
16180bfc8e
|
audio: fix descriptor endpoint attribute error and add audiov2 feedback descriptor
- fix descriptor endpoint attribute error and add audiov2 feedback descriptor
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
|
2023-06-02 15:26:32 +08:00 |
|
sakimisu
|
9172223fe6
|
call usbh_xxx_stop when class enumerates completely
|
2023-05-17 20:43:23 +08:00 |
|
sakumisu
|
e9ad3bdc21
|
add volume and mute control
|
2023-03-22 14:58:07 +08:00 |
|
sakumisu
|
75ddfc8e4d
|
move hub and hport variable into common ram to reduce nocache ram usage
|
2023-02-18 15:19:52 +08:00 |
|
sakimisu
|
3fa3f3e356
|
do not check if device is closed
|
2023-02-07 22:54:51 +08:00 |
|
sakumisu
|
82e4baf908
|
support more audio altsetting
|
2023-02-05 14:38:52 +08:00 |
|
sakimisu
|
d0890c2caf
|
fix class get data due to 528d8dc9d6
|
2023-01-15 17:20:31 +08:00 |
|
Zhihong Chen
|
1d84f735d3
|
update audio class and demo template
- fix descriptor error.
- move audio v2 default_sampling_freq_table from class driver to demo template.
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
|
2023-01-02 12:53:42 +08:00 |
|
sakimisu
|
914d3cbf42
|
add audio host driver
|
2022-12-31 22:44:08 +08:00 |
|
sakumisu
|
dca8b4cfed
|
remove intf malloc
|
2022-10-20 21:22:08 +08:00 |
|
sakumisu
|
cb2510f121
|
remove custom handler, split class handler into interface and endpoint
handler
|
2022-09-08 21:44:56 +08:00 |
|
sakumisu
|
3c94fca8d8
|
refactor usb device intf and ep register
|
2022-08-20 18:08:36 +08:00 |
|
sakumisu
|
523d33506d
|
give up class register
|
2022-08-19 23:34:35 +08:00 |
|
sakumisu
|
6e29b6a427
|
delete sof callback
|
2022-08-18 21:48:42 +08:00 |
|
sakumisu
|
7377b5183d
|
Simplify the license rows, standardize header macro name
|
2022-08-18 21:41:19 +08:00 |
|
sakumisu
|
54c52944d2
|
remove comments to reduce rows
|
2022-08-17 20:12:37 +08:00 |
|
sakumisu
|
cb906c90b8
|
fix clock source process in uac2.0
|
2022-08-11 17:27:00 +08:00 |
|
sakumisu
|
bdbf3cb670
|
info level log to debug level
|
2022-05-25 11:00:25 +08:00 |
|
sakumisu
|
9708f51420
|
replace malloc with usb_malloc
|
2022-04-15 16:49:54 +08:00 |
|