Shortcuts: Mobile | Active Topics | Newest Posts | Latest Freeware | Private Messaging | Contribute News | Archive 
  NEWS
  Search News
Browse by Category
News History
1SRC News RSS Feed
1SRC Podcast RSS Feed
Contribute News
  FORUMS
  Search Forums
Topic Specific
News
General
Applications
  Games
  Video
Deals & Promos
Developers
E-books
Mac / Linux
Medical
Podcast
Skins & Backgrounds
Wireless
Off-Topic
  Audio/Video
  Cellphones
  Digital Cameras
  Gaming
  Gadgets & Gizmos
  Non-Palm OS PDAs
  PCs/Laptops
  Tech Web
palm
pre
Foleo
T|X-Series
Z-Series
LifeDrive
Zire
Treo
Tungsten
Older Palms
Sony
VZ-Series
TH-Series
UX-Series
TJ-Series
NX-Series
TG-Series
NZ-Series
Older Clies
Tapwave
Zodiac
Garmin
iQue
Other Licensees
AlphaSmart
Fossil
Group Sense
Kyocera
LG
Samsung
Site Specific
Arcade
Comment/Suggest
  FREEWARE
  Search Freeware
Applications
Ebooks
Skins
Backgrounds
  ABOUT US
  Contact Us
Contribute News
About Us
Privacy Statement
  LOW PRICE SEARCH

Search for the lowest prices: 




  LINKS
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Go Back   1src Forums > Topic Specific > Developers
User Name
Password
FAQ Members List Calendar Chat Arcade Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
Old 01-21-2003, 08:21 PM   #1
Massman82
Senior Member
 
Massman82's Avatar
 
Join Date: Oct 2002
Posts: 281 Massman82 is on a distinguished road
Send a message via AIM to Massman82 Send a message via Yahoo to Massman82
Palm Resource

How does a developer make a Palm resource file above the 64KB limit (or database to hold music)

Thanks!
__________________
Roman -Massman82@PDArcade.com
Sony Clie NX60 - Best device ever!
Palm V/Vx (Previosly)


Do you have gaming news? Send it to me, and it may be published on www.PDArcade.com :)
Massman82 is offline   Reply With Quote
Old 01-21-2003, 11:43 PM   #2
Eric S
Senior Member
 
Join Date: Dec 2002
Location: Las Vegas
Posts: 231 Eric S is on a distinguished road
While I can't give a full answer, I'll do the best I can.

1) The 64K limit is per resource, not per resource database (not sure which you meant by file and just wanted to clarify).

2) There are several ways to create a database over 64K, including a few that don't even involve a PDA. The PDB file format is documented and it's pretty easy to write code to spit one out. So you can decide on a database format that breaks large chunks down into 64K parts, and go with that.

If you're willing to restrict yourself to VFS, you can do actual file streams to/from VFS-mounted media, so you can access files much like you can in most OS.
__________________
A newer Clie coming out does not break the Clie I've got, just my credit card.
Eric S is offline   Reply With Quote
Old 01-24-2003, 05:02 PM   #3
Massman82
Senior Member
 
Massman82's Avatar
 
Join Date: Oct 2002
Posts: 281 Massman82 is on a distinguished road
Send a message via AIM to Massman82 Send a message via Yahoo to Massman82
(I am not the developer, I am helping out a friend...I do not know one thing about Palm developing. They are trying to put music and sound effects into a game)

(From them)
This partly answers the question...

As I know, the sound engine can't accept music sliced into multiple parts... I tried it with the Tungsten, but there was a 1-3 secs silence between each part. I don't think that this method can work with Sony either. So the 'breaking' method isn't good.

The Hacking method: (Hacking the PDB to contain larger chunks than 64KB): This is risky. There could be compatibility problems. I don't know which Palm versions can accept this, probably not all. It's a real hack.
Streaming from media: This is not good for us, since the goal is a prc or pdb so the user can install it!

I don't think there can be a game with about 1 minute of continuous music in the market. There are none in the market right? And I mean WAV sound, not MIDI. MIDI sounds ugly, I think.

So my is question: how can I play a one minute continuous wav music on Sony and on OS5 devices ? Let's count a standard 8 kHz wav...
__________________
Roman -Massman82@PDArcade.com
Sony Clie NX60 - Best device ever!
Palm V/Vx (Previosly)


Do you have gaming news? Send it to me, and it may be published on www.PDArcade.com :)
Massman82 is offline   Reply With Quote
Old 01-24-2003, 06:18 PM   #4
Eric S
Senior Member
 
Join Date: Dec 2002
Location: Las Vegas
Posts: 231 Eric S is on a distinguished road
Quote:
Originally posted by Massman82


So my is question: how can I play a one minute continuous wav music on Sony and on OS5 devices ? Let's count a standard 8 kHz wav...


I haven't played around with the sound API very much. I can tell you that the Clie and PalmOS5 APIs are totally different (and the CD-quality API on the NX is not only different from both of them, but undocumented).

If you use SndStreamCreate from the Sound Stream feature set from PalmOS5, it will double buffer the sound, which is to say that it has two buffers. While it is playing one buffer, the program is filling the other buffer. So, as long as your program can keep up, there should be no gaps.

I suspect the only way to do this with the pre-NX Sony API is with subrecords, which in this case at least aren't a hack, but it won't help you on anything that isn't a Clie. In fact, I think it only works on the Clies with "enhanced sound." It should work there, however, as you pass the sound manager a single request that links to other requests, and the chaining is all handled by the sound manager.
Eric S is offline   Reply With Quote
Old 01-24-2003, 07:00 PM   #5
Massman82
Senior Member
 
Massman82's Avatar
 
Join Date: Oct 2002
Posts: 281 Massman82 is on a distinguished road
Send a message via AIM to Massman82 Send a message via Yahoo to Massman82
Thanks Eric!

Does anyone know how to do this on the NX as well? It would be great for them to support that device with sound as well!
__________________
Roman -Massman82@PDArcade.com
Sony Clie NX60 - Best device ever!
Palm V/Vx (Previosly)


Do you have gaming news? Send it to me, and it may be published on www.PDArcade.com :)
Massman82 is offline   Reply With Quote
Old 01-24-2003, 10:11 PM   #6
Eric S
Senior Member
 
Join Date: Dec 2002
Location: Las Vegas
Posts: 231 Eric S is on a distinguished road
The Sony Sound Manager may work on the NX, I don't know. If it does, it won't provide CD quality sound.
__________________
A newer Clie coming out does not break the Clie I've got, just my credit card.
Eric S is offline   Reply With Quote
Old 01-25-2003, 04:50 PM   #7
Massman82
Senior Member
 
Massman82's Avatar
 
Join Date: Oct 2002
Posts: 281 Massman82 is on a distinguished road
Send a message via AIM to Massman82 Send a message via Yahoo to Massman82
Ok, thanks a lot for your help, Eric... I started another thread with a diffirent problem .

(Your advice really helped!)
__________________
Roman -Massman82@PDArcade.com
Sony Clie NX60 - Best device ever!
Palm V/Vx (Previosly)


Do you have gaming news? Send it to me, and it may be published on www.PDArcade.com :)
Massman82 is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Palm Tungsten T3 Frequently Asked Questions (FAQ) Lance Tungsten 79 05-06-2010 05:54 AM
TH 55, Macs, Myssing sinc... jb2319 Clie TH-series 19 02-26-2004 01:20 AM
Bluetooth Hot Sync Stirling Clie UX-series 38 02-22-2004 04:35 AM
Palm OS 6 has shipped according to a press release by PalmSource riversen General 23 01-08-2004 06:23 PM


All times are GMT -5. The time now is 07:31 AM.

  AD HOSTS ?
  GOOGLE ADS ?
  AMAZON ADS ?

Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
©2001 Entity City, LLC. All rights reserved.