[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fwd: How to embedded file/sound into executable?
[Thread Prev] | [Thread Next]
- Subject: Fwd: How to embedded file/sound into executable?
- From: Jussi Lahtinen <jussi.lahtinen@xxxxxxxxx>
- Date: Sat, 23 Mar 2024 23:46:07 +0200
- To: Gambas Mailing List <user@xxxxxxxxxxxxxxxxxxxxxx>
> there is a way to make the file i need to be placed in some "only for
> root admin" directory when I install the .deb package?
>
See the "Extra files" section.
Or use what you already have in "/usr/share/sounds/freedesktop/stereo".
Or use sdl2 component:
Music.Load("din-din.wav") '<--- this will point into the executable
Music.Play()
As alternative, can Gambas generate some "din don" sound alert? so in
> will be generated "on the fly" and not as play a external audio file.
>
I think it should be possible with the sdl2 component, but I have never
tried.
Jussi
| How to embedded file/sound into executable? | roberto.premoli@xxxxxxxxxx |
| Re: How to embedded file/sound into executable? | Jussi Lahtinen <jussi.lahtinen@xxxxxxxxx> |