The switch to HDMI_CODEC moved the IEC958 control from mixer to PCM,
adjust the ALSA card conf accordingly.
Signed-off-by: Matthias Reichl <hias@horus.com>
The default of 512k is too small at 192kHz/8ch, kodi can only get a
86ms buffer instead of the 200ms buffer it usually wants. That results
in occasional buffer underruns when playing media from local storage
which is uncached in kodi's default settings.
Increase the alsa buffer size to 1.2MB so kodi can get the audio buffer
size it likes to have.
Signed-off-by: Matthias Reichl <hias@horus.com>
Enable hdmi_mode to get HBR formatting and default AES3 to 0x01
so sample rate will be filled in by iec958 formatter if not
specified explicitly.
Signed-off-by: Matthias Reichl <hias@horus.com>
This allows us to use the default debug-shell.service provided
by systemd and cut down on custom made services. This will also
always provide a debug shell as there is no reason we shouldn't
have access to one.
Add a console shell for debugging a Raspberry Pi. The shell is added
conditionally if the console parameter appears in the kernel command
line.
The service file follows the template provided by stefansaraev [1].
[1] http://sprunge.us/cBdT