• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category
  • Assigned To No-one
  • Operating System
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by rb_dev - 2004-01-09
Last edited by linusnielsen - 2004-02-04

FS#1912 - Use current dir for recording files

This patch make the recorder leave recorded files in
the current directory instead of the root dir. To
choose the directory that will contain the recorded
file, simply broswe to the desired directory before
entering the recording mode.

Closed by  linusnielsen
2004-02-04 11:26
Reason for closing:  Accepted
Project Manager
zagor commented on 2004-01-09 08:21

I like it. Very simple and straight-forward. Thanks!

Just a C programming question from someone who is not much
of a programmer.

Why do we pass (char *buffer) to
rec_create_filename_w_path? It seems to me that the buffer
variable is defined each time rec_create_filename_w_path is
called using the getcwd function. Is there any need to pass
buffer back and forth to recording_screen?


I changed it to pass the buffer in order to put the path
buffer on the stack instead of eating up static memory space
by declaring it in rec_create_filename_w_path().

Project Manager

Thanks Craig!

I used your patch as a base for the new recording directory


Available keyboard shortcuts


Task Details

Task Editing