|
| 1 | + # Created initially with script "./bench_comp_generate.sh sound_dose" |
| 2 | + # may need edits to modify controls |
| 3 | + Object.Control { |
| 4 | + # Un-comment the supported controls in SOUND_DOSE |
| 5 | + bytes."1" { |
| 6 | + name '$ANALOG_PLAYBACK_PCM Sound Dose setup bytes' |
| 7 | + IncludeByKey.BENCH_SOUND_DOSE_PARAMS { |
| 8 | + "default" "include/components/sound_dose/setup_sens_100db.conf" |
| 9 | + } |
| 10 | + } |
| 11 | + bytes."2" { |
| 12 | + name '$ANALOG_PLAYBACK_PCM Sound Dose volume bytes' |
| 13 | + Object.Base.data."volume" { |
| 14 | + bytes " |
| 15 | + 0x53,0x4f,0x46,0x34,0x01,0x00,0x00,0x00, |
| 16 | + 0x00,0x00,0x00,0x00,0x01,0xd0,0x01,0x03, |
| 17 | + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
| 18 | + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00" |
| 19 | + } |
| 20 | + } |
| 21 | + bytes."3" { |
| 22 | + name '$ANALOG_PLAYBACK_PCM Sound Dose gain bytes' |
| 23 | + Object.Base.data."gain" { |
| 24 | + bytes " |
| 25 | + 0x53,0x4f,0x46,0x34,0x02,0x00,0x00,0x00, |
| 26 | + 0x00,0x00,0x00,0x00,0x01,0xd0,0x01,0x03, |
| 27 | + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
| 28 | + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00" |
| 29 | + } |
| 30 | + } |
| 31 | + bytes."4" { |
| 32 | + name '$ANALOG_PLAYBACK_PCM Sound Dose data bytes' |
| 33 | + max 256 |
| 34 | + Object.Base.data."data" { |
| 35 | + bytes " |
| 36 | + 0x53,0x4f,0x46,0x34,0xca,0x00,0x00,0x00, |
| 37 | + 0x00,0x00,0x00,0x00,0x01,0xd0,0x01,0x03, |
| 38 | + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
| 39 | + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00" |
| 40 | + } |
| 41 | + } |
| 42 | + #mixer."1" { |
| 43 | + # name '$ANALOG_PLAYBACK_PCM SOUND_DOSE switch or volume' |
| 44 | + #} |
| 45 | + #enum."1" { |
| 46 | + # name '$ANALOG_PLAYBACK_PCM SOUND_DOSE enum' |
| 47 | + #} |
| 48 | + } |
0 commit comments