mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-10-28 05:40:23 -04:00
The Advanced Linux Sound Architecture (ALSA) - tools
Changing the version in the file header would make a preset file not readable by older versions of the tool. If we just append new data always at the end of the save procedure we should have no problems reading them with different versions, as they all just read to a certain point and ignore the rest of the file. This patch implements the logic to save the presets first to a file called file_name.tmp and appends any extra data that would come after in a possibly present file_name file. Any data written by newer versions would remain in the preset file and from now on no old version should remove data written by newer versions. Also since we write to a temporary file and rename afterwards an extra feature is gained of not corrupting the preset should we crash. Signed-off-by: Jasmin Fazlic <superfassl@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> |
||
|---|---|---|
| as10k1 | ||
| echomixer | ||
| envy24control | ||
| hda-verb | ||
| hdajackretask | ||
| hdajacksensetest | ||
| hdspconf | ||
| hdsploader | ||
| hdspmixer | ||
| hwmixvolume | ||
| ld10k1 | ||
| mixartloader | ||
| pcxhrloader | ||
| qlo10k1 | ||
| rmedigicontrol | ||
| sb16_csp | ||
| seq | ||
| sscape_ctl | ||
| us428control | ||
| usx2yloader | ||
| vxloader | ||
| .gitignore | ||
| compile | ||
| gitcompile | ||
| Makefile | ||