| 84714 packages online |
|
|
| | | | No screenshot available |
|
--------------------------------------------------------------------------------
-------------
If you enjoyed this prog send me a postcard at: Thellier. 43 Rue Ordener. 75018
PARIS. FRANCE
--------------------------------------------------------------------------------
-------------
INSTALLATION
For OS3
copy SimpleDT.library TO LIBS:
For PPC/OS4
copy SimpleDT.library-ppc TO LIBS:SimpleDT.library
SimpleDT.library-debug and SimpleDT.library-ppc-debug contain debug versions
that output what they do
DESCRIPTION - ENGLISH
Simple DataType library for playing any sound formats and reading any picture
formats using datatypes
SimpleDT.library: Alain THELLIER - Paris - FRANCE - 2013
If using datatypes to play a sound or read a picture was too difficult for you
then SimpleDT.library is done for you
Coding DataTypes has never been so simple : only 5 functions
SDT_Load
SDT_Play
SDT_GetPicture
SDT_VolumeChange
SDT_Free
I hope ASM coders or BASIC coders will now use datatypes :-)
DESCRIPTION - FRANCAIS
Simple DataType library est une bibliotheque de fonctions pour jouer des sons ou
lire des images de tout formats grace aux datatypes
SimpleDT.library: Alain THELLIER - Paris - FRANCE - 2013
Si utiliser les datatypes dans vos programmes pour jouer un son ou lire un image
etait encore trop complexe pour vous
alors SimpleDT.library est faite pour vous
Coder les DataTypes n'a jamais ete aussi simple: rien que 5 fonctions
SDT_Load
SDT_Play
SDT_GetPicture
SDT_VolumeChange
SDT_Free
J'espere que les codeurs ASM ou BASIC utiliseront désormais les datatypes :-)
================================================================
FUNCTIONS - ENGLISH
----------------------------------------------------------------
ULONG SDT_Load(UBYTE* filename);
load a sound or picture (any format)
id1=SDT_Load("mysound.wav");
id2=SDT_Load("mypicture.jpg");
----------------------------------------------------------------
ULONG SDT_GetPicture(ULONG id,APTR picture);
get the picture data (any format)
struct SDT_picture P;
ok=SDT_GetPicture(id2,&P);
Then P is filled like this
P.pixels = pointer on picture pixels
P.height
P.width
P.bits = bits per pixel : 24 or 32
----------------------------------------------------------------
ULONG SDT_Play(ULONG id,ULONG replay,ULONG volume);
play a sound (any format)
ok=SDT_Play(id1,2,32);
----------------------------------------------------------------
ULONG SDT_VolumeChange(ULONG id,LONG volumechange);
change the volume for a sound
SDT_VolumeChange(id1,-1);
SDT_VolumeChange(id1,+1);
----------------------------------------------------------------
ULONG SDT_Free(ULONG id);
free a sound or picture
SDT_Free(id1);
SDT_Free(id2);
----------------------------------------------------------------
================================================================
FUNCTIONS - FRANCAIS
----------------------------------------------------------------
ULONG SDT_Load(UBYTE* filename);
charge un son ou un image (tout formats)
id1=SDT_Load("mysound.wav");
id2=SDT_Load("mypicture.jpg");
----------------------------------------------------------------
ULONG SDT_GetPicture(ULONG id,APTR picture);
récupére les données images (tout formats)
struct SDT_picture P;
ok=SDT_GetPicture(id2,&P);
Alors la structure P est remplie ainsi
P.pixels = pointeur sur les pixels de l'image
P.height = hauteur image
P.width = largeur image
P.bits = bits par pixel cad 24 ou 32
----------------------------------------------------------------
ULONG SDT_Play(ULONG id,ULONG replay,ULONG volume);
joue un son (tout formats)
replay = nombre de repetition
ok=SDT_Play(id1,2,32);
----------------------------------------------------------------
ULONG SDT_VolumeChange(ULONG id,LONG volumechange);
change le volume d'un a son
SDT_VolumeChange(id1,-1);
SDT_VolumeChange(id1,+1);
----------------------------------------------------------------
ULONG SDT_Free(ULONG id);
libére un son ou image en mémoire
SDT_Free(id1);
SDT_Free(id2);
----------------------------------------------------------------
|
Contents of util/libs/SimpleDT.lhaPERMISSION UID GID PACKED SIZE RATIO METHOD CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown] 900 2998 30.0% -lh5- 1c60 Jul 31 13:54 SimpleDT/alain.rexx
[unknown] 339 1213 27.9% -lh5- d2db May 31 11:00 SimpleDT/build.sh
[unknown] 776 1191 65.2% -lh5- b9ec Apr 17 15:56 SimpleDT/build.sh.info
[unknown] 110498 110498 100.0% -lh0- 8bd7 Apr 25 10:24 SimpleDT/data/goldo.jpg
[unknown] 224646 261822 85.8% -lh5- 3c8a Sep 2 2001 SimpleDT/data/Goldo_Actarus1.wav
[unknown] 213635 253226 84.4% -lh5- 96c1 Sep 2 2001 SimpleDT/data/Goldo_cockpit.wav
[unknown] 123434 123434 100.0% -lh0- 4f9c Feb 3 2002 SimpleDT/data/G_exterior.wav
[unknown] 140217 152354 92.0% -lh5- ba3b Feb 18 2002 SimpleDT/data/G_pas.wav
[unknown] 6685 11928 56.0% -lh5- 9921 Jun 3 11:46 SimpleDT/demo
[unknown] 1962 5690 34.5% -lh5- c2b6 May 27 15:09 SimpleDT/demo.c
[unknown] 141 236 59.7% -lh5- 32cf Apr 25 15:03 SimpleDT/demo.info
[unknown] 1896 7786 24.4% -lh5- ec95 Jun 3 11:46 SimpleDT/demo.s
[unknown] 6248 70850 8.8% -lh5- 3cf2 Jun 3 11:37 SimpleDT/demoppc
[unknown] 123 218 56.4% -lh5- 0aae Jun 3 11:39 SimpleDT/demoppc.info
[unknown] 175 318 55.0% -lh5- 6e87 Apr 24 14:04 SimpleDT/include/clib/SimpleDT_protos.h
[unknown] 328 855 38.4% -lh5- c8ca Apr 25 10:46 SimpleDT/include/inline/SimpleDT.h
[unknown] 397 868 45.7% -lh5- 99d6 Apr 12 15:39 SimpleDT/include/inline4/SimpleDT.h
[unknown] 444 1217 36.5% -lh5- 61d2 Apr 12 15:39 SimpleDT/include/interfaces/SimpleDT.h
[unknown] 251 559 44.9% -lh5- 3609 Apr 12 15:39 SimpleDT/include/interfaces/SimpleDT.i
[unknown] 502 1548 32.4% -lh5- f7d0 Apr 12 15:39 SimpleDT/include/proto/SimpleDT.h
[unknown] 255 438 58.2% -lh5- 8615 Apr 12 15:38 SimpleDT/include/SimpleDT.sfd
[unknown] 443 1237 35.8% -lh5- 27fb Apr 12 15:38 SimpleDT/include/SimpleDT.xml
[unknown] 261 686 38.0% -lh5- 4faf May 27 11:29 SimpleDT/include/SimpleDT/SimpleDT.h
[unknown] 456 1349 33.8% -lh5- 95fa Apr 12 15:39 SimpleDT/include/SimpleDT_files/autoinit_SimpleDT_base.c
[unknown] 650 1946 33.4% -lh5- e4ec Apr 12 15:39 SimpleDT/include/SimpleDT_files/autoinit_SimpleDT_main.c
[unknown] 2124 5914 35.9% -lh5- f514 Apr 12 15:39 SimpleDT/include/SimpleDT_files/init.c
[unknown] 484 958 50.5% -lh5- a9e0 Apr 12 15:39 SimpleDT/include/SimpleDT_files/main/Obtain.c
[unknown] 484 964 50.2% -lh5- 1d73 Apr 12 15:39 SimpleDT/include/SimpleDT_files/main/Release.c
[unknown] 497 1002 49.6% -lh5- 8808 Apr 12 15:39 SimpleDT/include/SimpleDT_files/main/SDT_Free.c
[unknown] 519 1092 47.5% -lh5- 36b0 Apr 12 15:39 SimpleDT/include/SimpleDT_files/main/SDT_GetPicture.c
[unknown] 507 1024 49.5% -lh5- ad96 Apr 12 15:39 SimpleDT/include/SimpleDT_files/main/SDT_Load.c
[unknown] 525 1108 47.4% -lh5- 71f2 Apr 12 15:39 SimpleDT/include/SimpleDT_files/main/SDT_Play.c
[unknown] 522 1119 46.6% -lh5- 719a Apr 12 15:39 SimpleDT/include/SimpleDT_files/main/SDT_VolumeChange.c
[unknown] 621 1200 51.8% -lh5- 24a5 Apr 12 15:39 SimpleDT/include/SimpleDT_files/Makefile
[unknown] 1009 1966 51.3% -lh5- 13df Apr 12 15:39 SimpleDT/include/SimpleDT_files/README
[unknown] 882 4421 20.0% -lh5- db9d Apr 12 15:38 SimpleDT/include/SimpleDT_files/SimpleDT_68k.c
[unknown] 380 1194 31.8% -lh5- fb2e Apr 12 15:39 SimpleDT/include/SimpleDT_files/SimpleDT_vectors.c
[unknown] 1373 5488 25.0% -lh5- 6fef Apr 12 15:38 SimpleDT/SimpleDT.c
[unknown] 328 855 38.4% -lh5- f20c Apr 23 10:49 SimpleDT/SimpleDT.h
[unknown] 4127 7828 52.7% -lh5- 9e79 Jun 3 11:46 SimpleDT/SimpleDT.library
[unknown] 4129 7828 52.7% -lh5- 2fb1 Jun 3 11:44 SimpleDT/SimpleDT.library-debug
[unknown] 8038 23449 34.3% -lh5- 2206 Jun 3 11:37 SimpleDT/SimpleDT.library-ppc
[unknown] 8298 75249 11.0% -lh5- 411d Jun 3 11:35 SimpleDT/SimpleDT.library-ppc-debug
[unknown] 1288 4443 29.0% -lh5- 4168 Jul 31 13:58 SimpleDT/SimpleDT.readme
[unknown] 3335 13016 25.6% -lh5- 53f9 Jun 24 15:33 SimpleDT/SimpleDT6.c
[unknown] 894 4555 19.6% -lh5- 99b6 May 27 11:07 SimpleDT/SimpleDT_68k_to_ppc.h
[unknown] 456 1349 33.8% -lh5- 95fa Apr 12 15:39 SimpleDT/SimpleDT_files/autoinit_SimpleDT_base.c
[unknown] 650 1946 33.4% -lh5- e4ec Apr 12 15:39 SimpleDT/SimpleDT_files/autoinit_SimpleDT_main.c
[unknown] 2124 5914 35.9% -lh5- f514 Apr 12 15:39 SimpleDT/SimpleDT_files/init.c
[unknown] 484 958 50.5% -lh5- a9e0 Apr 12 15:39 SimpleDT/SimpleDT_files/main/Obtain.c
[unknown] 484 964 50.2% -lh5- 1d73 Apr 12 15:39 SimpleDT/SimpleDT_files/main/Release.c
[unknown] 497 1002 49.6% -lh5- 8808 Apr 12 15:39 SimpleDT/SimpleDT_files/main/SDT_Free.c
[unknown] 519 1092 47.5% -lh5- 36b0 Apr 12 15:39 SimpleDT/SimpleDT_files/main/SDT_GetPicture.c
[unknown] 507 1024 49.5% -lh5- ad96 Apr 12 15:39 SimpleDT/SimpleDT_files/main/SDT_Load.c
[unknown] 525 1108 47.4% -lh5- 71f2 Apr 12 15:39 SimpleDT/SimpleDT_files/main/SDT_Play.c
[unknown] 522 1119 46.6% -lh5- 719a Apr 12 15:39 SimpleDT/SimpleDT_files/main/SDT_VolumeChange.c
[unknown] 621 1200 51.8% -lh5- 24a5 Apr 12 15:39 SimpleDT/SimpleDT_files/Makefile
[unknown] 1009 1966 51.3% -lh5- 13df Apr 12 15:39 SimpleDT/SimpleDT_files/README
[unknown] 255 438 58.2% -lh5- 8615 Apr 12 15:38 SimpleDT/SimpleDT_files/SimpleDT.sfd
[unknown] 443 1237 35.8% -lh5- 27fb Apr 12 15:38 SimpleDT/SimpleDT_files/SimpleDT.xml
[unknown] 882 4421 20.0% -lh5- db9d Apr 12 15:38 SimpleDT/SimpleDT_files/SimpleDT_68k.c
[unknown] 380 1194 31.8% -lh5- fb2e Apr 12 15:39 SimpleDT/SimpleDT_files/SimpleDT_vectors.c
[unknown] 326 1003 32.5% -lh5- 8f41 Apr 24 14:06 SimpleDT/SimpleDT_functions_glue.h
[unknown] 314 922 34.1% -lh5- 0561 May 24 14:27 SimpleDT/SimpleDT_functions_glue_ppc.h
[unknown] 2794 10156 27.5% -lh5- b3c0 Apr 18 15:30 SimpleDT/SimpleDT_lib.c
[unknown] 2264 7388 30.6% -lh5- 444e May 27 11:31 SimpleDT/SimpleDT_lib_ppc.c
[unknown] 860 4085 21.1% -lh5- c381 Apr 22 13:56 SimpleDT/SimpleDT_support.h
[unknown] 703 4473 15.7% -lh5- 0e32 Jul 31 14:21 T/usb.log
---------- ----------- ------- ------- ------ ---------- ------------ ----------
Total 68 files 893645 1234097 72.4% Aug 1 15:59
|
|
|
|
Aminet © 1992-2024 Urban
Müller and
the Aminet team.
Aminet contact address: <aminetaminet net> |