if(!state_fio->StateCheckInt32(this_device_id)) {
return false;
}
- state_fio->StateBool(play);
- state_fio->StateBool(rec);
- state_fio->StateBool(remote);
- state_fio->StateBuffer(rec_file_path, sizeof(rec_file_path), 1);
+ state_fio->StateValue(play);
+ state_fio->StateValue(rec);
+ state_fio->StateValue(remote);
+ state_fio->StateArray(rec_file_path, sizeof(rec_file_path), 1);
if(loading) {
int length_tmp = state_fio->FgetInt32_LE();
if(rec) {
state_fio->FputInt32_LE(0);
}
}
- state_fio->StateInt32(bufcnt);
- state_fio->StateBuffer(buffer, sizeof(buffer), 1);
+ state_fio->StateValue(bufcnt);
+ state_fio->StateArray(buffer, sizeof(buffer), 1);
return true;
}