您尚未登录。

楼主 # 2022-04-21 20:21:42

鱼尾
会员
所在地: 杭州
注册时间: 2021-01-11
已发帖子: 40
积分: 0

使用tinymix 播放音乐遇到问题

# tinymix set 1
[                    id                   seq
[[                   install              setarch
ar                   ipcrm                setkeycodes
aserver              ipcs                 setserial
ash                  kill                 setsid
awk                  killall              sh
basename             last                 sha1sum
bunzip2              ldd                  sha256sum
busybox              less                 sha3sum
bzcat                linux32              sha512sum
cat                  linux64              sleep
catv                 ln                   sort
chattr               logger               strings
chgrp                login                stty
# tinymix set 1 11111
Error: 2 values given, but control only takes 1
# tinymix set 11111
Invalid mixer control
# tinymix set 1
Segmentation fault
# tinymix set 1:1
Segmentation fault
# tinymix set 1/1
Segmentation fault
# tinymix set 1|1
-sh: 1: not found
Segmentation fault
# tinymix set Headphone Playback Volume|1
-sh: 1: not found
Invalid mixer control
# tinymix set Headphone Playback Volume 1
Invalid mixer control
# tinymix set Headphone Playback Volume
Invalid mixer control
# tinymix 'Headphone Playback Volume ' 1
unknown command 'Headphone Playback Volume ' (see --help)
# tinymix  set 'Headphone Playback Volume ' 1
Invalid mixer control
# tinymix  set 1 1
Error: 2 values given, but control only takes 1
# tinymix  set 11
Segmentation fault

离线

#1 2022-09-11 23:49:34

memory
会员
注册时间: 2021-08-11
已发帖子: 107
积分: 85

Re: 使用tinymix 播放音乐遇到问题

root@dragonboard:~# tinymix
Mixer name: 'sun50iw10-codec'
Number of controls: 17
ctl     type    num     name                                     value
0       ENUM    1       codec hub mode                           hub_disable
1       ENUM    1       DAC Swap                                 Off
2       ENUM    1       ADC Swap                                 Off
3       INT     1       digital volume                           63
4       INT     1       MIC1 gain volume                         31
5       INT     1       MIC2 gain volume                         31
6       INT     1       LINEOUT volume                           26
7       INT     2       DAC volume                               0 0
8       INT     2       ADC volume                               160 160
9       INT     1       headphone gain                           7
10      BOOL    1       audiocodec rx_sync switch                Off
11      ENUM    1       LINEOUT Output Select                    DAC_DIFFER
12      BOOL    1       ADCL Input MIC1 Boost Switch             Off
13      BOOL    1       ADCR Input MIC2 Boost Switch             Off
14      BOOL    1       Headphone Switch                         Off
15      BOOL    1       HpSpeaker Switch                         Off
16      BOOL    1       LINEOUT Switch                           Off
root@dragonboard:~#
root@dragonboard:~#
root@dragonboard:~# tinymix set 14 on
Invalid mixer control
root@dragonboard:~#
root@dragonboard:~#

离线

#2 2022-09-13 09:51:39

哇酷小二
wechat微信:whycan_cn
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,181
积分: 1897
个人网站

Re: 使用tinymix 播放音乐遇到问题

全志dragon和android的 SDK tinymix 工具命令行参数不同,

tinymix  14 1 或者 tinymix 'Headphone Switch' 1 这样就能设置成功。





离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn