|
A4 Dont create window at all |
Aleksa
Member #14,874
January 2013
|
I want to use allegro library for playing wav file and nothing else. But as my program starts my cmd window goes out of focus to allegro window. Is there any way to disable allegro window? |
Eximius
Member #15,901
March 2015
|
Even though i am new to allegro, the examples seem to contain a no display example named "ex_nodisplay.c". Documentation & Examples
|
Aleksa
Member #14,874
January 2013
|
Im using A4 and I cant find example for that in examples folder of A4. |
#00JMP00
Member #14,740
November 2012
|
What about skipping the windows init part. Normal behaviour is prompting to command. |
Aleksa
Member #14,874
January 2013
|
All I do is allegro_init and install_sound. |
Edgar Reynaldo
Major Reynaldo
May 2007
|
You need to use install_allegro(SYSTEM_NONE , &errno , atexit); and then initialize the audio drivers and then you can load wavs and oggs I believe. That's with Allegro 4.4.2 at least. It returns zero if successful. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
Aleksa
Member #14,874
January 2013
|
Thanks! That worked! Edit: but now sound does not work. What to use instead install_sound(); ? |
|