Find the answer to your Linux question:
Results 1 to 3 of 3
Mostly everything works with my new debian system, which I am really happy with. There are a select few things that seem to be having problems. One of these is ...
  1. #1
    Just Joined!
    Join Date
    Mar 2006
    Posts
    32

    Cool New to debian but i'm getting some errors

    Mostly everything works with my new debian system, which I am really happy with. There are a select few things that seem to be having problems. One of these is getting sound at sites with flash video. The video plays perfeclty well, but for some reason I get no sound. I am using Firefox version 1.5.0.3 and I installed the flash plugins when going to video.google.com. There it gave me an option to install the plugins. And another error that I am getting comes up when trying to use RythmBox:

    OSS device "/dev/dsp" is already in use by another program.

    Could not pause playback

    I already tried exiting all of my programs to see if it would work then, but still getting the same error. Another problem is I can't seem to get winecfg to work whenever I install wine 0.9.11 from the repositories. Is there a way to get my minimized programs to be able to stack on top of each other in the window list, instead of always being side to side. It helps keep my taskbar from being too big.

    Help is greatly appreciated

  2. #2
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    Hi
    OSS is old linux sound system , i suggest you install ALSA
    apt-get install alsa-base alsa-utils

    and run alsaconf from terminal. That will find your sound card and configure it.

    Now you need to edit your .asoundrc in your home directory for multiple output mixing , if the file doesn't exist create it . Here is my asoundrc file copy it to your own file.

    pcm.dmixer {
    type dmix
    ipc_key 1024
    slave {
    pcm "hw:0,0"
    period_time 0
    period_size 1024
    buffer_size 4096
    rate 44100
    }
    bindings {
    0 0
    1 1
    }
    }

    ctl.dmixer {
    type hw
    card 0
    }

    pcm.!default {
    type plug
    slave.pcm "dmixer"
    }

    pcm.mixin {
    type dsnoop
    ipc_key 5978293# must be unique for all dmix plugins!!!!
    ipc_key_add_uid yes
    slave {
    pcm "hw:0,0"
    channels 2
    period_size 1024
    buffer_size 4096
    rate 44100
    periods 0
    period_time 0
    }
    bindings {
    0 0
    0 1
    }
    }

    pcm.dsp0 {
    type plug
    slave.pcm "dmixer"
    }

    ctl.mixer0 {
    type hw
    card 0
    }
    restart alsa soundsystem , type to the terminal and push enter
    /etc/init.d/alsa restart

    now your sound system can play sound from more than one program in the same time.

    have fun!

  3. #3
    Linux Engineer Zelmo's Avatar
    Join Date
    Jan 2006
    Location
    Riverton, UT, USA
    Posts
    1,001
    To get winecfg working, you need to install the wine-utils package.
    Stand up and be counted as a Linux user!

Posting Permissions

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