[quake3-commits] [ioquake/ioq3] 58b0fb: Fix SDL audio playback with 16-bit stereo sound

Zack Middleton zack at cloemail.com
Mon Oct 1 23:32:22 EDT 2018


  Branch: refs/heads/master
  Home:   https://github.com/ioquake/ioq3
  Commit: 58b0fb07cd61406bfce231c0d467d5b765ac7b30
      https://github.com/ioquake/ioq3/commit/58b0fb07cd61406bfce231c0d467d5b765ac7b30
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2018-10-01 (Mon, 01 Oct 2018)

  Changed paths:
    M code/client/snd_dma.c
    M code/client/snd_local.h
    M code/client/snd_mix.c
    M code/sdl/sdl_snd.c

  Log Message:
  -----------
  Fix SDL audio playback with 16-bit stereo sound

My commit last month "Fix SDL audio playback with surround sound" broke
16-bit stereo sound. S_TransferStereo16() still assumed that dma.samples
was a power of two. I also cleaned up code related to the previously
mentioned commit.


  Commit: 0cf10d2b775a2fb0d908d975349325e23db26019
      https://github.com/ioquake/ioq3/commit/0cf10d2b775a2fb0d908d975349325e23db26019
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2018-10-01 (Mon, 01 Oct 2018)

  Changed paths:
    M code/client/snd_dma.c

  Log Message:
  -----------
  Make s_info command display channels instead of stereo

channels-1 was displayed as '# stereo', affectively a boolean for
mono or stereo. However '3 stereo' for quad surround sound doesn't
make sense.


Compare: https://github.com/ioquake/ioq3/compare/93dd14c9fb77...0cf10d2b775a
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the quake3-commits mailing list