Rensie wrote:
> EDIT: nevermind, answered elsewhere
>
> Apologies if my questions seem basic, just trying to wrap my head around
> this. Do you recompile with a modified bcm2835-pcm.c?
> This looks really suspicious:
>
> /* hardware definition */
> static struct snd_pcm_hardware snd_bcm2835_playback_hw = {
> .info = (SNDRV_PCM_INFO_INTERLEAVED | SNDRV_PCM_INFO_BLOCK_TRANSFER),
> .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 = (4 * 8 - 1) * 1024, /* Needs to be less than
> audioplay buffer size */
> .period_bytes_min = 1 * 1024,
> .period_bytes_max = (4 * 8 - 1) * 1024,
> .periods_min = 1,
> .periods_max = 4 * 8 - 1,
> };
Thanks for looking into this. And you are right that the stock kernel
only allows up to 48 kHz via HDMI, however we patch this module before
building the kernel and modules allowing it to go to 192 kHz.
It is strange because we did exactly the same change to the 1.16 version
as we did to 1.17 version.
I suspect that somehow ALSA bahaves differently, but I haven't been able
to figure out where the difference is.
Steen
piCorePlayer a small player for the Raspberry Pi in RAM.
Homepage: https://sites.google.com/site/picoreplayer/home
*Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer*
------------------------------------------------------------------------
sbp's Profile: http://forums.slimdevices.com/member.php?userid=37237
View this thread: http://forums.slimdevices.com/showthread.php?t=97803
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix