192 kHz audio via HDMI - almost working as it should - Raspberry Pi Forums
hi have been modifying /sound/arm/bcm2835-pcm.c file , compiled kernel , modules, , raspberry can play audio files 192/24. part of original file manipulated: code: select all <linux/interrupt.h> #include <linux/slab.h> #include "bcm2835.h" /* hardware definition */ static struct snd_pcm_hardware snd_bcm2835_playback_hw = { .info = (sndrv_pcm_info_interleaved | sndrv_pcm_info_block_transfer | sndrv_pcm_info_mmap | sndrv_pcm_info_mmap_valid), .formats = sndrv_pcm_fmtbit_u8 | sndrv_pcm_fmtbit_s16_le, .rates = sndrv_pcm_rate_continuous | sndrv_pcm_rate_8000_48000, .rate_min = 8000, .rate_max = 48000, .channels_min = 1, .channels_max = 2, .buffer_bytes_max = 128 * 1024, .period_bytes_min = 1 * 1024, .period_bytes_max = 128 * 1024, .periods_min = 1, .periods_max = 128, }; changed to: code: select all #include <linux/slab.h> #include "bcm2835.h" /* hardware definition */ static struct snd_pcm_hardware snd_bcm2835_playback_hw = { ...