You Are Here:

Community: Developer Discussion Boards

#1 Old Playing Midi on 6600 - 2004-05-23, 17:01

Join Date: Dec 2003
Posts: 19
shmulikm29
Offline
Registered User
We're trying to play midi sound using MMAPI on 6600 and other s60 phones. We mange to play them alright, however, we experience slight delays during playback. The game just halts for a second and then continues.

I could not find such a bug listed on the Nokia known issues document And I'm looking for a solution for this.

Should I do the midi playback in a thread? is there a simple solution for this?
Reply With Quote

#2 Old 2004-06-04, 08:10

Join Date: Jan 2004
Posts: 82
Location: Mumbai,India
ankur_k
Offline
Regular Contributor
I think it may be taking time to create instance of Player at the time of playing the sound.thats why it is stopping for a while.

Ankur
Reply With Quote

#3 Old 2004-06-04, 15:28

Join Date: Dec 2003
Posts: 19
shmulikm29
Offline
Registered User
I create the Player as a static array of Player at the initialization of the game, each entry of the array has a different Player which I prefetch() ant the initialization. I have about 12 different short sounds in the game.

Every time I play a sound, I first stop the last sound played (in case it is still running) an then play the new sound. Is it possible that the stop() changes the status of the prev sound to UNREALIZED or REALIZED, which might make it halt the game the next time I play that sound (it have to make it PREFETCHED again)? or maybe the gc might have changed the status of the Player? Is it possible to force the Player to be PREFETCHED at all times (until destruction...)?

Do you think a thread will help here?

I checked the game on the SonyErrcsson Z1010 and it works great there.

Thanks
Shmulik
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d18645X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtopicQUqfnTopicZmediaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ