Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

MK808 bootsound/bootanimation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    MK808 bootsound/bootanimation

    Hello,

    I wanted to enable bootsounds along with bootanimation on my MK808. I modified the bootanimation sources to play an mp3 using OpenSLES. Unfortunately, there is no audio produced while the boot animation shows up on the screen. When I re-run the bootanimation binary after the system has finished booting (i.e. it is at the launcher screen), the audio plays fine. Even if I do stop/start after the system is booted, the audio plays fine.

    I also tried using stagefright -a -o audio_file.ogg in my init.rc, but it has the same problem. No audio is produced till the system boot up completes.

    Does anyone know what could be wrong? Is there a ROM with boot sounds?

    Thanks
    screwgauge!

    #2
    On Rockchip devices, audio hardware is not initialized early in boot like other devices. Thus you cant get a boot sound.

    Bob
    "Pzebacz im, bo nie wiedzą, co czynią"
    "Прости им, они не ведают, что творят"
    "Perdona loro perché non sanno quello che fanno"
    "Vergib ihnen, denn sie wissen nicht, was sie tun"
    "Vergeef hen want ze weten niet wat ze doen"
    "Pardonne-leur car ils ne savent pas ce qu'ils font"
    "Perdónalos porque no saben que lo que hacen"
    "Oprosti im, jer ne znaju što čine"
    "Forgive them as they know not what they do"





    Comment


      #3
      Originally posted by Finless View Post
      On Rockchip devices, audio hardware is not initialized early in boot like other devices. Thus you cant get a boot sound.

      Bob
      Thanks Bob. That is what I suspected. Is it easy to move that initializing to early boot? What would it involve? If you could provide some hints, I can try and hack it.

      Thanks
      screwgauge!

      Comment


        #4
        I have never tried to do that so I have no idea. It would have to be early in init.rc

        By the way, you did try to put a file bootsound.oog in /media/sounds or /media?
        Also I think it has to be a proper oog and not a MP3.

        Bob
        "Pzebacz im, bo nie wiedzą, co czynią"
        "Прости им, они не ведают, что творят"
        "Perdona loro perché non sanno quello che fanno"
        "Vergib ihnen, denn sie wissen nicht, was sie tun"
        "Vergeef hen want ze weten niet wat ze doen"
        "Pardonne-leur car ils ne savent pas ce qu'ils font"
        "Perdónalos porque no saben que lo que hacen"
        "Oprosti im, jer ne znaju što čine"
        "Forgive them as they know not what they do"





        Comment

        Working...
        X