No Sound on Splash Screen - Kite's SAIO
No Sound on Splash Screen - Kite's SAIO
I have @kite 's SAIO. It works perfectly. Since the SAIO gets sound through USB, I am unable to get sound for the video splash screen when the pi zero is booting up. Does anyone know how to enable sound on the SAIO during boot before the splash screen?
Check out my latest GBZ build: http://www.sudomod.com/forum/viewtopic. ... 779#p35779
..............
..............
- kite
- Posts: 972
- Joined: Thu May 12, 2016 4:30 am
- Location: UK
- Has thanked: 246 times
- Been thanked: 361 times
- Contact:
Re: No Sound
The issue is that omxplayer doesn't support USB sound cards, however some of these changes might need to be applied https://raspberrypi.stackexchange.com/q ... dio-device I will look at them this weekend to double check I have set up USB sound on my image correctly.. FYI I set the sound to how the sw image manual says to for USB audio, so the /etc/asound.conf is set up doing the work.
Stock clearance - CLOSED: viewtopic.php?f=38&t=12064
Kite's Mailing List: https://goo.gl/forms/e97uUvPOfUxPWdz82
Kite's FAQ: https://kiteretro.com/faq/
Kite's Mailing List: https://goo.gl/forms/e97uUvPOfUxPWdz82
Kite's FAQ: https://kiteretro.com/faq/
- kite
- Posts: 972
- Joined: Thu May 12, 2016 4:30 am
- Location: UK
- Has thanked: 246 times
- Been thanked: 361 times
- Contact:
Re: No Sound
UPDATE!
The last comment on this thread said ALSA audio IS supported on omxplayer! https://github.com/popcornmix/omxplayer/issues/442
I have tested this with 'omxplayer -o alsa <video.mp4>' and audio works! We just need to find out where the call is made in a script somewhere and add '-o alsa' to the command and it'll work.
EDIT!
SOLUTION FOUND!
Edit '/etc/init.d/asplashscreen' and change the line:
to:
(the change is 'both' to 'alsa')
And you have sound on splashscreen
SOLUTION FOUND FOR RPI 4.4!
Edit '/opt/retropie/supplementary/splashscreen/asplashscreen.sh' and change the line:
to:
(the change is 'both' to 'alsa')
The last comment on this thread said ALSA audio IS supported on omxplayer! https://github.com/popcornmix/omxplayer/issues/442
I have tested this with 'omxplayer -o alsa <video.mp4>' and audio works! We just need to find out where the call is made in a script somewhere and add '-o alsa' to the command and it'll work.
EDIT!
SOLUTION FOUND!
Edit '/etc/init.d/asplashscreen' and change the line:
Code: Select all
omxplayer -o both -b --layer 10000 "$line"
Code: Select all
omxplayer -o alsa -b --layer 10000 "$line"
And you have sound on splashscreen
SOLUTION FOUND FOR RPI 4.4!
Edit '/opt/retropie/supplementary/splashscreen/asplashscreen.sh' and change the line:
Code: Select all
omxplayer -o both -b --layer 10000 "$line"
Code: Select all
omxplayer -o alsa -b --layer 10000 "$line"
Stock clearance - CLOSED: viewtopic.php?f=38&t=12064
Kite's Mailing List: https://goo.gl/forms/e97uUvPOfUxPWdz82
Kite's FAQ: https://kiteretro.com/faq/
Kite's Mailing List: https://goo.gl/forms/e97uUvPOfUxPWdz82
Kite's FAQ: https://kiteretro.com/faq/
Re: No Sound on Splash Screen - Kite's SAIO
Great job! I had looked at this line in the code but at the time only local, hdmi, or both were options. This is recently added. Good find.kite wrote: ↑Fri Apr 14, 2017 2:17 amUPDATE!
The last comment on this thread said ALSA audio IS supported on omxplayer! https://github.com/popcornmix/omxplayer/issues/442
I have tested this with 'omxplayer -o alsa <video.mp4>' and audio works! We just need to find out where the call is made in a script somewhere and add '-o alsa' to the command and it'll work.
EDIT!
SOLUTION FOUND!
Edit '/etc/init.d/asplashscreen' and change the line:to:Code: Select all
omxplayer -o both -b --layer 10000 "$line"
(the change is 'both' to 'alsa')Code: Select all
omxplayer -o alsa -b --layer 10000 "$line"
And you have sound on splashscreen
I will be adding this by default to the NEXT pre-made image.. I'll update here with link when done.
Re: No Sound on Splash Screen - Kite's SAIO
Ok, just an update. Found a small bug in that changing code on omxplayer call for splash screen will disable emulation station sound on game list scroll until you start and exit one game. Then scroll sound works. Not a deal breaker though. Maybe a work around for that can be found also.HoolyHoo wrote: ↑Fri Apr 14, 2017 4:54 amGreat job! I had looked at this line in the code but at the time only local, hdmi, or both were options. This is recently added. Good find.kite wrote: ↑Fri Apr 14, 2017 2:17 amUPDATE!
The last comment on this thread said ALSA audio IS supported on omxplayer! https://github.com/popcornmix/omxplayer/issues/442
I have tested this with 'omxplayer -o alsa <video.mp4>' and audio works! We just need to find out where the call is made in a script somewhere and add '-o alsa' to the command and it'll work.
EDIT!
SOLUTION FOUND!
Edit '/etc/init.d/asplashscreen' and change the line:to:Code: Select all
omxplayer -o both -b --layer 10000 "$line"
(the change is 'both' to 'alsa')Code: Select all
omxplayer -o alsa -b --layer 10000 "$line"
And you have sound on splashscreen
I will be adding this by default to the NEXT pre-made image.. I'll update here with link when done.
Re: No Sound on Splash Screen - Kite's SAIO
For those (like me) who don't know their linux that well, you can edit this "asplashscreen" file by opening terminal (pressing F4) and typing:
sudo nano /etc/init.d/asplashscreen
After changing the code to what kite showed above, hold ctrl and choose the hot key option "write to file" (I think it is ctrl + O).
sudo nano /etc/init.d/asplashscreen
After changing the code to what kite showed above, hold ctrl and choose the hot key option "write to file" (I think it is ctrl + O).
Check out my latest GBZ build: http://www.sudomod.com/forum/viewtopic. ... 779#p35779
..............
..............
- VeteranGamer
- Posts: 1738
- Joined: Thu Jan 26, 2017 11:12 am
- Location: London, UK
- Has thanked: 528 times
- Been thanked: 909 times
Re: No Sound on Splash Screen - Kite's SAIO
kite wrote: ↑Fri Apr 14, 2017 2:17 amUPDATE!
The last comment on this thread said ALSA audio IS supported on omxplayer! https://github.com/popcornmix/omxplayer/issues/442
I have tested this with 'omxplayer -o alsa <video.mp4>' and audio works! We just need to find out where the call is made in a script somewhere and add '-o alsa' to the command and it'll work.
EDIT!
SOLUTION FOUND!
Edit '/etc/init.d/asplashscreen' and change the line:to:Code: Select all
omxplayer -o both -b --layer 10000 "$line"
(the change is 'both' to 'alsa')Code: Select all
omxplayer -o alsa -b --layer 10000 "$line"
And you have sound on splashscreen
I will be adding this by default to the NEXT pre-made image.. I'll update here with link when done.
just wondering, will this work if i have a common ground pcb and usb audio....
Re: No Sound on Splash Screen - Kite's SAIO
Yes. It should.VeteranGamer wrote: ↑Fri May 19, 2017 3:35 pm
just wondering, will this work if i have a common ground pcb and usb audio....
-
- Posts: 17
- Joined: Wed Mar 01, 2017 11:38 am
- Has thanked: 11 times
- Been thanked: 8 times
- BadBert
- Posts: 377
- Joined: Wed Jun 29, 2016 4:14 am
- Location: Hoogerheide, Netherlands
- Has thanked: 100 times
- Been thanked: 61 times
- Contact:
Re: No Sound on Splash Screen - Kite's SAIO
Cool! i'll try this on my own build
My first GBZ build -=HERE=- -> Became a gift to my little brother!
My 2nd GBZ build -=WIP HERE=- -> going with HDMI!
My 2nd GBZ build -=WIP HERE=- -> going with HDMI!
Who is online
Users browsing this forum: No registered users and 1 guest