Method
SetAudioLevelConfig
(audioLevelConfig audio.AudioLevelConfig)
Source from the content-addressed store, hash-verified
| 430 | } |
| 431 | |
| 432 | func (b *BufferBase) SetAudioLevelConfig(audioLevelConfig audio.AudioLevelConfig) { |
| 433 | b.Lock() |
| 434 | defer b.Unlock() |
| 435 | |
| 436 | b.audioLevelConfig = audioLevelConfig |
| 437 | if b.audioLevel != nil { |
| 438 | b.audioLevel.SetConfig(b.audioLevelConfig) |
| 439 | } |
| 440 | } |
| 441 | |
| 442 | func (b *BufferBase) SetStreamRestartDetection(enable bool) { |
| 443 | b.Lock() |
Callers
nothing calls this directly
Tested by
no test coverage detected