This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Hekkus. Load audio on iPhone.


Hekkus. Load audio on iPhone.

Postby tinybulb.com » Mar 26, 2009 @ 11:14am

Hi,

Is there any nice way to load audio for Hekkus on iPhone from READONLY path? Right now I do the following to load the sound:

if(E_OK == ecd.snd->Open()) {
ecd.file->Open("aurora.mod", EFOF_READONLYPATH);

int size = ecd.file->Size();
char* data = new char[size];
ecd.file->Read(data, size);
ecd.snd->LoadMusic(0, data, size);

ecd.file->Close();
}
tinybulb.com
pm Member
 
Posts: 32
Joined: Dec 16, 2008 @ 12:09am
Location: Minsk


Postby edge » Mar 27, 2009 @ 8:10am

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby tinybulb.com » Apr 16, 2009 @ 12:58pm

Attachments
effect1.ogg.zip
Sound effect which I am trying to load.
(45.61 KiB) Downloaded 645 times
tinybulb.com
pm Member
 
Posts: 32
Joined: Dec 16, 2008 @ 12:09am
Location: Minsk


Postby edge » Apr 18, 2009 @ 1:06pm

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron