Sunday, November 15, 2009

Fixing CPU Usage and Sound Problems and Getting Rid of Treads

I used gobject.timeout_add instead of threading which fixed the CPU usage problem and made the code easier to read. I made the sound quality better by changing the bit-rate and the depth. I made TimeLapse collect the image and audio at the same time which improved the speed of data collections.

Wednesday, November 4, 2009

New Start and Stop Time Feature

Last weekend I worked on adding a new feature. The new feature makes it possible to choose when to start data collection and when to stop data collection.

This is what Time Lapse now looks like:


By default "Start Now" and "End Never" are checked as shown below:


"Start Now" and "End Never" can be unchecked to allow a person to choose a specific start and stop time for data collection:






After "OK" under "Begin Collecting" is clicked Start Date and Time can no longer be modified. End time can still be changed. (Changes to End Time do actually change the end time)
This is shown below:

Not clicked:


Clicked:


"Start Date and Time" isn't changeable because people can simply push End Collecting without any trouble if they need to change the start time because no data will have been collected yet.