Jump to content

_SH

Members
  • Posts

    2
  • Joined

  • Last visited

  1. Thanks. I edit this pacth for my custom builds. Open issue for linux-sunxi github. Maybe somethin fix. Until that i must to paching and make custom builds.
  2. Hi all! When i comand pause to player (mplayer2, mpv, does not matters) it cause kernel panic if output device is spdif. It tested on kernel of 3.4 line. Old log here: Found a dirty solution. Exclude from sunxi_pcm_hardware.info SNDRV_PCM_INFO_PAUSE, SNDRV_PCM_INFO_RESUME --- sunxi_spdma.c.new 2015-10-11 13:03:41.312808000 +0300 +++ sunxi_spdma.c 2015-10-09 20:35:46.000000000 +0300 @@ -39,7 +39,8 @@ static const struct snd_pcm_hardware sunxi_pcm_hardware = { .info = SNDRV_PCM_INFO_INTERLEAVED | SNDRV_PCM_INFO_BLOCK_TRANSFER | - SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_MMAP_VALID, + SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_MMAP_VALID | + SNDRV_PCM_INFO_PAUSE | SNDRV_PCM_INFO_RESUME, .formats = SNDRV_PCM_FMTBIT_S16_LE, .rates = SNDRV_PCM_RATE_8000_192000 | SNDRV_PCM_RATE_KNOT, .rate_min = 8000, Is more elegant solution exists? P.S. This bug is actual for kernel from repo: linux-image-sun7i
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines