1. 01 8月, 2008 1 次提交
  2. 30 7月, 2008 1 次提交
    • P
      ALSA: Fix limit of 8 PCM devices in SNDRV_CTL_IOCTL_PCM_NEXT_DEVICE · 94239690
      Pawel MOLL 提交于
      When compiled with CONFIG_SND_DYNAMIC_MINORS the ALSA core is fine
      to have more than 8 PCM devices per card, except one place - the
      SNDRV_CTL_IOCTL_PCM_NEXT_DEVICE ioctl, which will not enumerate
      devices > 7. This patch fixes the issue, changing the devices list
      organisation.
      
      Instead of adding new device to the tail, the list is now kept always
      ordered (by card number, then device number). Thus, during enumeration,
      it is easy to discover the fact that there is no more given card's
      devices. The same limit was present in OSS emulation code. It has
      been fixed as well.
      
      Additionally the device field of struct snd_pcm is now int, instead of
      unsigned int, as there is no obvious reason for keeping it unsigned.
      This caused a lot of problems with comparing this value with other
      (almost always signed) variables. There is just one more place where
      device number is unsigned - in struct snd_pcm_info, which should be
      also sorted out in future.
      Signed-off-by: NPawel MOLL <pawel.moll@st.com>
      Signed-off-by: NJaroslav Kysela <perex@perex.cz>
      94239690
  3. 01 2月, 2008 4 次提交
  4. 16 10月, 2007 2 次提交
  5. 09 5月, 2007 1 次提交
  6. 13 2月, 2007 1 次提交
  7. 20 12月, 2006 1 次提交
  8. 28 11月, 2006 1 次提交
  9. 23 9月, 2006 2 次提交
  10. 03 8月, 2006 1 次提交
  11. 23 6月, 2006 5 次提交
  12. 28 4月, 2006 2 次提交
  13. 12 4月, 2006 2 次提交
  14. 31 3月, 2006 3 次提交
  15. 22 3月, 2006 2 次提交
  16. 10 1月, 2006 1 次提交
  17. 03 1月, 2006 4 次提交
  18. 04 11月, 2005 2 次提交
  19. 12 9月, 2005 3 次提交
  20. 30 8月, 2005 1 次提交