sound: Support sound conf file parsing existing rule 38/302038/10 accepted/tizen/7.0/unified/20231208.173559
authorYunhee Seo <yuni.seo@samsung.com>
Thu, 30 Nov 2023 01:36:34 +0000 (10:36 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Fri, 8 Dec 2023 01:35:44 +0000 (10:35 +0900)
commitcc0c3adb0a4075ae457061b978160e79d7840b16
tree2431fba005bae4b90211897f44f8b2ce678945f1
parenta9aca8445f9467721903eaaa359e3cebb99319e7
sound: Support sound conf file parsing existing rule

Previously, [Sound] section parsing was supported in sound.conf file.
However, as sound theme handling rule is changed to id-base, it was omitted.
If [Sound] section is used in sound.conf, default theme id will be set to 0.

Basically, it operates as follows.
1. When section [Sound] is found, sound-parser parses feedback pattern immediately.
    - This is origin sound.conf parsing style.
2. When section [SoundTheme] is found, sound-parser supports multiple sound theme usage.
    - This is new sound.conf parsing style as support multiple theme.
Thus, do not try to [Sound] and [SoundTheme] section at the same time in the sound.conf
Only one of the two styles may be selected and used.

Detailed description is added to common/data/sound.conf file.

Change-Id: I6f9274e91eb062898d45413f2b674663a7d4e30d
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
common/data/sound.conf
src/sound-parser.c