Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Memory shortage on WAV recording.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-17-2009, 06:06 AM
Junior Member
 
Join Date: Dec 2007
Posts: 29
Default Memory shortage on WAV recording.

Some time ago I made wrote a B4P prog utilising the RECORDER.DLL library. Simply to be a quick voice recorder for on the go. But I now want to extend it to be able to record for much longer periods - eg. 30mins or an hour. I have a Dell AXIM x51V, which has 50MB Prog mem, 200 Storage Mem, plus card storage (4G). With no other programs loaded, I have about 30MB free in Prog mem to run the recorder, but that mem runs out after about 20 mins.

For the moment to get around the problem, I stop the recording at 15min, save the WAV file and then automatically start the next recording. Once each file is saved, I then have the 30MB Prog mem free again. Of course, the end result of this temp fix is that I end up with multiple files. Can anyone suggest a way that I can utilise storage mem (either RAM or Card) to store the live recording in real time so that the Prog mem remains at 30MB? I would imagine that whatever the solution might be, it would have to allow playing the WAV file also without loading it in to Prog Mem.

Thanks in advance.
Burd.
Reply With Quote
  #2 (permalink)  
Old 05-17-2009, 06:40 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,733
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

It is not possible. A .Net Compact Framework application is limited to about 32mb of memory. Your current solution is the best solution as I see it.
I'm not familiar with the WAV file format. Maybe it is not too complicate to merge several files.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
MEMORY leak zdenkot Questions (Windows Mobile) 3 06-17-2009 06:36 PM
Dim memory usage JamesC Questions (Windows Mobile) 2 07-21-2008 08:09 AM
Microphone recording HARRY Questions (Windows Mobile) 1 03-05-2008 07:54 AM
Images and memory wolfgang Questions (Windows Mobile) 5 02-23-2008 05:08 PM


All times are GMT. The time now is 08:15 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0