How to add boot up sound?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to add boot up sound?

2,404 次查看
thomasdamgaard
Contributor II

Hi,

Does anyone have any experience in adding a boot-up sound?

标签 (4)
标记 (3)
0 项奖励
回复
4 回复数

2,137 次查看
LeonardoSandova
Specialist I

what do you mean by 'boot-up sound' :smileysad: ?

0 项奖励
回复

2,137 次查看
thomasdamgaard
Contributor II

We want to play a small tune while the boot animation is shown... :smileyhappy:

0 项奖励
回复

2,137 次查看
raymondwang
Senior Contributor I

Attached is an example in boot animation playing sound. Perhaps this help you.

2,137 次查看
thomasdamgaard
Contributor II

Thanks! But added this to the init.rc:

service startupsound /system/bin/tinyplay /system/media/audio/ui/startupsound.wav

    user media

    group audio

    class main

    disabled

    oneshot

on property:init.svc.bootanim=running

    start startupsound

0 项奖励
回复