Click Here
home features news forums classifieds faqs links search
6155 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
22 crawler(s) on-line.
 95 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!

/  Forum Index
   /  Amiga Development
      /  Datatypes infos for sound
Register To Post

PosterThread
AmiDARK 
Datatypes infos for sound
Posted on 1-Sep-2010 11:16:50
#1 ]
Regular Member
Joined: 28-Mar-2007
Posts: 469
From: South France

Hi All,
Now that I have added support for DATATYPES in AmiDARK Engine concerning Images and textures, I'd like to do the same concerning sounds...

Concerning pictures, there is the structure BitmapHeader that allow me to get all informations needed to build the final image in memory.

When I look at soundclass.h ... I have no structure like bitmapheader in pictureclass.h ... Only a structure for voice sample ...
Is there a *non* documented structure or other file related structure I can use to load a sound using datatypes, and use it ...
Or does the use of datatypes for sound is different from method for images ?

Thank you.

Kindest Regards,
AmiDARK
http://www.amidark-engine.com

 Status: Offline
Profile     Report this post  
thomas 
Re: Datatypes infos for sound
Posted on 1-Sep-2010 12:41:13
#2 ]
Super Member
Joined: 28-May-2003
Posts: 1155
From: Germany

@AmiDARK

There is no such structure. You get the required information from SDTA_SampleLength and SDTA_Period. The sample format is always 8 bit signed mono and may not be longer than 128kb.

_________________
Email: thomas-rapp@web.de
Home: thomas-rapp.homepage.t-online.de

 Status: Offline
Profile     Report this post  
AmiDARK 
Re: Datatypes infos for sound
Posted on 1-Sep-2010 12:42:38
#3 ]
Regular Member
Joined: 28-Mar-2007
Posts: 469
From: South France

@thomas
I've heard that with latest updates, it can now handle 16bits audio.

 Status: Offline
Profile     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle