Rockbox Technical Forums

Support and General Use => Recording => Topic started by: yousef_mcr on January 16, 2007, 02:42:43 PM

Title: vanished recording?
Post by: yousef_mcr on January 16, 2007, 02:42:43 PM
Hello there...

I used my Rockboxed H320 in anger for the first time last night. I recorded two sets but only the second one is showing in the "recordings folder".

I'm pretty sure I started recording the first set but there is a chance that I didn't stop and then shutdown properly at the end - ie I may have just held down the "stop" button until the screen went blank. Such are the limitations of stealthing, I suppose.

I was wondering if there was any hope of recovering the lost file or even just finding out if it was ever recorded at all. I've tried chkdsk /f but I'm not sure what I'm looking for. This is what it brought up:

19,517,424 KB total disk space
              16 KB in 1 hidden file
            736 KB in 46 folders
   2,286416 KB in 894 files
17,230,240 KB are available

Any help or advice would be much appreciated.

Yousef

Title: Re: vanished recording?
Post by: petur on January 17, 2007, 02:27:28 PM
It always creates a file at the beginning of the recording (when writing the first chunk I think), so unless set 2 was very short, the second file should be there.

Are you sure you started it the second time? It happend to me once while stealthing - got quite pissed when I saw it was still in pre-rec in the middle of the set.
Title: Re: vanished recording?
Post by: yousef_mcr on January 17, 2007, 06:14:13 PM
It was the first set but yes - I think it must have been a case of somehow leaving it in pre-record.

Another valuable lesson learned. And another box of 10 DATs bought for my old D8 until I'm *completely* au fait with the Iriver.

Thanks for the reply.

Yousef
Title: Re: vanished recording?
Post by: jhMikeS on February 09, 2007, 08:34:59 AM
The filename is created whenever starting a new file but not on disk until it encounters the start of it in a flush. As long as RB reports disk errors correctly (I don't really doubt it does), recording will end in error if the file apis cannot write the requested data or the file can't be created. The previous recording code would have done the same but just immediately upon pressing record/splitting rather than one to two minutes later.

You can hold stop as long as you want. Recording will stop, then perhaps the player will shut down if it's also the power button. Petur gave the button mash testing the green light I believe.