Proper file numbering in the iriver PCM recording test code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7519 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e244f7f2a6
commit
e3e67eeb94
1 changed files with 3 additions and 3 deletions
|
@ -158,9 +158,9 @@ bool pcm_rec_screen(void)
|
|||
|
||||
} else
|
||||
{
|
||||
snprintf(filename, MAX_PATH, "/record-%0d.wav", rec_count++);
|
||||
pcm_record(filename);
|
||||
}
|
||||
create_numbered_filename(filename, "/", "rec_", ".wav", 4);
|
||||
pcm_record(filename);
|
||||
}
|
||||
break;
|
||||
|
||||
case BUTTON_ON:
|
||||
|
|
Loading…
Reference in a new issue