×

Discussion Board

Results 1 to 1 of 1
  1. #1
    Regular Contributor
    Join Date
    Jun 2009
    Location
    Tel-Aviv Israel
    Posts
    410

    Determine max sound resources

    hey guys,

    I would like to determine the maximum sound resources that may be prefetched and played at the same time.
    First let me just say that I assume that there is a limited amount of prefetched resources allowed,
    so my idea is to create and prefetch as many resources as possible until an exception is thrown and to count how many was allowed.
    I was thinking to do the same with the sound channels, to play sounds at the same time to determine how many can I play at the same time.

    I would run this once, at the first run, and save the data on the RMS, there would be an option to re-check the system properties, in case the data get corrupted,and every time I load the MIDlet again it just reads the data, and uses it.

    what do think?
    Last edited by TacB0sS; 2009-11-11 at 17:49.
    Thanks,
    Adam Zehavi.

Similar Threads

  1. Max and min Frequency - Sound
    By grodata in forum General Development Questions
    Replies: 0
    Last Post: 2005-12-06, 09:11
  2. Problem with Sound class getState()
    By creepymo in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2005-06-20, 18:43
  3. MIDI Sound problem (J2ME / Series 60)
    By JPapke in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2004-10-29, 08:17
  4. sound bug (possibly) on 6610
    By alex_crowther in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2004-02-05, 11:44
  5. Replies: 3
    Last Post: 2003-07-25, 09:41

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •