Permalink
Browse files

adding HifiBerry DAC+ ADC support

  • Loading branch information...
Markus Heidt
Markus Heidt committed Feb 1, 2019
1 parent c2677b2 commit 27705ca76e67467c61be792584849ef886494ca9
Showing with 6 additions and 1 deletion.
  1. +6 −1 lib/audio_config_handler.py
@@ -41,6 +41,11 @@ class AudioConfigHandler(ZynthianConfigHandler):
'SOUNDCARD_CONFIG': 'dtoverlay=hifiberry-dacplus',
'JACKD_OPTIONS': '-P 70 -t 2000 -s -d alsa -d hw:0 -r 44100 -p 256 -n 2 -X raw'
}],
['HifiBerry DAC+ ADC', {
'SOUNDCARD_CONFIG': 'dtoverlay=hifiberry-dacplusadc\n'+
'kernel=kernel7-hb.img',
'JACKD_OPTIONS': '-P 70 -t 2000 -s -d alsa -d hw:0 -r 44100 -p 256 -n 2 -X raw'
}],
['HifiBerry DAC+ light', {
'SOUNDCARD_CONFIG':'dtoverlay=hifiberry-dac',
'JACKD_OPTIONS': '-P 70 -t 2000 -s -d alsa -d hw:0 -r 44100 -p 256 -n 2 -X raw'
@@ -122,6 +127,7 @@ class AudioConfigHandler(ZynthianConfigHandler):

soundcard_mixer_controls=OrderedDict([
['HifiBerry DAC+', ['Digital']],
['HifiBerry DAC+ ADC', ['Digital','Analogue']],
['HifiBerry DAC+ light', ['Digital']],
['HifiBerry DAC+ RTC', ['Digital']],
['HifiBerry Digi', []],
@@ -291,4 +297,3 @@ def add_mixer_control(self, config, mixerControl, controlName, volumePercent, ch

def needs_reboot(self):
return True

0 comments on commit 27705ca

Please sign in to comment.