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:
Linus Nielsen Feltzing 2005-09-14 10:55:45 +00:00
parent e244f7f2a6
commit e3e67eeb94

View file

@ -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: