Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I have an onboard intel8x0, and alsa version 1.0.10. Everything is set up including dmix, i can run multiple xmms instances and everything works fine, both using alsa output ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2004
    Posts
    36

    Sound Issues (Crackle) with Enemy Territory, Alsa-OSS and DMIX


    Hi,
    I have an onboard intel8x0, and alsa version 1.0.10. Everything is set up including dmix, i can run multiple xmms instances and everything works fine, both using alsa output and oss output ('aoss xmms').

    The problem arises when i try to use Enemy Territory (any quake3 game for that matter), through aoss. I can only hear glimpses of sound and that crackles pretty bad.
    ET startup stuff:
    Code:
    ------- sound initialization -------
    ------------------------------------
    ----- Sound Info -----
    sound system is muted
        1 stereo
    32768 samples
       16 samplebits
        1 submission_chunk
    44100 speed
    0x0x9716cd0 dma buffer
    No background file.
    ----------------------
    Sound memory manager started
    Available Sound Options in ET:
    Code:
    s_stop
      s_info
      s_list
      s_initsound = 1
      s_nocompressed = 0
      s_testsound = 0
      s_show = 0
      s_debugMusic = 0
      s_currentMusic = sound/music/menu_server.wav
      s_mute = 0
      s_channels = 2
      s_bits = 16
      s_wavonly = 0
      s_defaultsound = 0
      s_mixPreStep = 0.05
      s_mixahead = 0.2
      s_khz = 44
      s_doppler = 1
      s_separation = 0.5
      s_musicvolume = 0.5
      s_volume = 0.8
    .asoundrc
    Code:
    # cat ~/.asoundrc
            pcm.intel8x0 {
               type hw
               card 0
            }
    
            ctl.intel8x0 {
               type hw
               card 0
            }
    
    
    pcm.dsp {
        type plug
        ipc_gid	501
        ipc_key_add_uid false
        ipc_perm 0777
        slave.pcm "dmix"
    }
    # mixer0 can stay unchanged, because
    # it isn't used anyway, I guess ;)
    ctl.mixer0 {
        type hw
        card 0
    }
    cat /proc/asound/card0/pcm0p/sub0/hw_params
    Code:
    access: MMAP_INTERLEAVED
    format: S16_LE
    subformat: STD
    channels: 2
    rate: 48000 (48000/1)
    period_size: 1024
    buffer_size: 16384
    tick_time: 4000
    Any help is appreciated.
    Thanks

  2. #2
    Just Joined!
    Join Date
    Nov 2004
    Posts
    36
    After some more research I believe the problem lies in the fact that ET uses mmap'ing to access the OSS device files.
    Any Ideas?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •