12-08-2016, 04:59 AM
My asound.state file has data concerning USB dj controller set so I am reluctant to overwrite it or will the data for the controller get added automatically again?
$ diff asound.state /var/lib/alsa/asound.state
...
1339a1340,1388
> }
> }
> }
> state.Instinct {
> control.1 {
> iface PCM
> name 'Playback Channel Map'
> value.0 3
> value.1 4
> value.2 9
> value.3 10
> comment {
> access read
> type INTEGER
> count 4
> range '0 - 36'
> }
> }
> control.2 {
> iface MIXER
> name 'PCM Playback Switch'
> value.0 true
> value.1 true
> value.2 true
> value.3 true
> comment {
> access 'read write'
> type BOOLEAN
> count 4
> }
> }
> control.3 {
> iface MIXER
> name 'PCM Playback Volume'
> value.0 11264
> value.1 11264
> value.2 11264
> value.3 11264
> comment {
> access 'read write'
> type INTEGER
> count 4
> range '0 - 16384'
> dbmin -6400
> dbmax 0
> dbvalue.0 -2000
> dbvalue.1 -2000
> dbvalue.2 -2000
> dbvalue.3 -2000
$ diff asound.state /var/lib/alsa/asound.state
...
1339a1340,1388
> }
> }
> }
> state.Instinct {
> control.1 {
> iface PCM
> name 'Playback Channel Map'
> value.0 3
> value.1 4
> value.2 9
> value.3 10
> comment {
> access read
> type INTEGER
> count 4
> range '0 - 36'
> }
> }
> control.2 {
> iface MIXER
> name 'PCM Playback Switch'
> value.0 true
> value.1 true
> value.2 true
> value.3 true
> comment {
> access 'read write'
> type BOOLEAN
> count 4
> }
> }
> control.3 {
> iface MIXER
> name 'PCM Playback Volume'
> value.0 11264
> value.1 11264
> value.2 11264
> value.3 11264
> comment {
> access 'read write'
> type INTEGER
> count 4
> range '0 - 16384'
> dbmin -6400
> dbmax 0
> dbvalue.0 -2000
> dbvalue.1 -2000
> dbvalue.2 -2000
> dbvalue.3 -2000