I added this to the a52.conf file located in /us/share/alsa/alsa.conf.d/a52.conf:
ctl.a52 { @args [ CARD ] @args.CARD { type string default 0 } type hw card $CARD }
And now I get this from pulseaudio:
I: [pulseaudio] alsa-sink.c: Successfully opened device a52:0. I: [pulseaudio] alsa-sink.c: Selected mapping 'Digital Surround 5.1 (IEC958/AC3)' (iec958-ac3-surround-51). I: [pulseaudio] alsa-sink.c: Cannot enable timer-based scheduling, falling back to sound IRQ scheduling. I: [pulseaudio] alsa-sink.c: Successfully enabled mmap() mode. I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'a52:0'
Previously pulseaudio reported this:
I: [pulseaudio] alsa-sink.c: Successfully opened device a52:0. I: [pulseaudio] alsa-sink.c: Selected mapping 'Digital Surround 5.1 (IEC958/AC3)' (iec958-ac3-surround-51). I: [pulseaudio] alsa-sink.c: Cannot enable timer-based scheduling, falling back to sound IRQ scheduling. I: [pulseaudio] alsa-sink.c: Successfully enabled mmap() mode. I: [pulseaudio] (alsa-lib)control.c: Invalid CTL a52:0 I: [pulseaudio] alsa-util.c: Unable to attach to mixer a52:0: No such file or directory I: [pulseaudio] alsa-sink.c: Failed to find a working mixer device.
This is an improvement that didn't resolved the audio breaking. The rest of the log file still looks the same!
I added this to the a52.conf file located in /us/share/ alsa/alsa. conf.d/ a52.conf:
ctl.a52 {
@args [ CARD ]
@args.CARD {
type string
default 0
}
type hw
card $CARD
}
And now I get this from pulseaudio:
I: [pulseaudio] alsa-sink.c: Successfully opened device a52:0. ac3-surround- 51).
I: [pulseaudio] alsa-sink.c: Selected mapping 'Digital Surround 5.1 (IEC958/AC3)' (iec958-
I: [pulseaudio] alsa-sink.c: Cannot enable timer-based scheduling, falling back to sound IRQ scheduling.
I: [pulseaudio] alsa-sink.c: Successfully enabled mmap() mode.
I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'a52:0'
Previously pulseaudio reported this:
I: [pulseaudio] alsa-sink.c: Successfully opened device a52:0. ac3-surround- 51). control. c: Invalid CTL a52:0
I: [pulseaudio] alsa-sink.c: Selected mapping 'Digital Surround 5.1 (IEC958/AC3)' (iec958-
I: [pulseaudio] alsa-sink.c: Cannot enable timer-based scheduling, falling back to sound IRQ scheduling.
I: [pulseaudio] alsa-sink.c: Successfully enabled mmap() mode.
I: [pulseaudio] (alsa-lib)
I: [pulseaudio] alsa-util.c: Unable to attach to mixer a52:0: No such file or directory
I: [pulseaudio] alsa-sink.c: Failed to find a working mixer device.
This is an improvement that didn't resolved the audio breaking. The rest of the log file still looks the same!