Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ALSA OSS XMMS Teamspeak
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
mtascii
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2006
Posts: 87

PostPosted: Mon Feb 06, 2006 7:41 pm    Post subject: ALSA OSS XMMS Teamspeak Reply with quote

ich hab da ein Problem bzw eher eine Frage oder eine bitte an jemand der sich ein bisschen besser als ich damit auskennt.

nachdem ich dutzende Foren durchsucht habe hab ich 2 sachen gefunden.
ich habe zur zeit 2 .asoundrc files.
Mit dem einem kann ich bei Teamspeak reden und andere höhren. Aber dann keine andere sound Application laufen lassen.
das 2te script erlaubt mir mehrere Sound Applicationen abzuspielen aber leider kein teamspeak.

gibt es nicht die möglichkeit diese beiden files zu kombenieren. Leider hab ich davon keine Ahnung

ich hab ein nforce2 chipsatz. also intel8x0

hier meine teamspeak .asoundrc
Code:

# Set default sound card
# Useful so that all settings can be changed to a different card here.
pcm.snd_card {
     type hw
          card 0
          device 0
          }

          # Allow mixing of multiple output streams to this device
       pcm.output {
           type dmix
         ipc_key 1024
      ipc_perm 0660 # Sound for everybody in your group!
          slave.pcm "snd_card"
        slave {
         # This stuff provides some fixes for latency issues.
           # buffer_size should be set for your audio chipset.
             period_time 0
             period_size 1024
      buffer_size 8192
       }
         bindings {
              0 0
              1 1
# Allow reading from the default device.
#Also known as record or capture.
pcm.input {
type dsnoop
ipc_key 2048
slave.pcm "snd_card"
                                                       ## Possible artsd full duplex fix:
#slave {
#period_time 0
#period_size 1024
#buffer_size 8192
#}

bindings {
0 0
1 1
#This is what we want as our default device
#a fully duplex (read/write) audio device.
pcm.duplex {
type asym
playback.pcm "output"
capture.pcm "input"
                                                                ###################
#CONVERSION PLUG #
                                                                      ###################
#Setting the default pcm device allows the conversion
#rate to be selected on the fly.
#duplex mode allows any alsa enabled app to read/write
#to the dmix plug (Fixes a problem with wine).
pcm.!default {
type plug
slave.pcm "duplex"

#Apparently this is wrong (breaks mplayer for me opening the device)
#ctl.!default {
#type plug
#slave.pcm "snd_card"
#}
                                                            ########
#AOSS #
########
#OSS dsp0 device (OSS needs only output support, duplex will break some stuff)
pcm.dsp0 {
type plug
slave.pcm "output"

#OSS control for dsp0 (needed?...this might not be useful)
ctl.dsp0 {
type plug
slave.pcm "snd_card"





und meine andere
Code:
pcm.card0 {
  type hw
  card 0
# mmap_emulation true
}

pcm.dmix0 {
   type dmix
   ipc_key 1024 ## needs to be a power of 2
   slave {
      pcm "hw:0"
      period_time 0
      period_size 1024
      buffer_size 8192
               # format S16_LE
      rate 44100 ## not necessary
   }
#slowptr true
}

pcm.dsnoop0 {
  type dsnoop
  ipc_key 2048
  slave {
    pcm "card0"
  #  rate 48000
  }
}

pcm.asym0 {
  type asym
  playback.pcm "dmix0"
  capture.pcm "dsnoop0"
}

pcm.pasym0 {
  type plug
  slave.pcm "asym0"
}

# 'dsp0' is espected by OSS emulation etc.
pcm.dsp0 {
  type                  plug
  slave.pcm             "asym0"
}

ctl.dsp0 {
    type                hw
    card                0
}

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

ctl.!default {
    type                hw
    card                0
}
Back to top
View user's profile Send private message
mtascii
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2006
Posts: 87

PostPosted: Thu Feb 09, 2006 5:04 pm    Post subject: Reply with quote

niemd

schade
Back to top
View user's profile Send private message
De Beukelaer
Tux's lil' helper
Tux's lil' helper


Joined: 06 Apr 2005
Posts: 78
Location: Hamburg

PostPosted: Tue Feb 28, 2006 8:52 pm    Post subject: Reply with quote

Hi.

da ich auch lange an dem Problem gesessen hab hab ich mal meine Lösung aufgeschrieben:
http://botas.homedns.org/alsa
Auf spezielle Chipsätze bin ich dabei nicht eingegangen. Darum sollte es relativ allgemeingültig sein.
Ansonsten benutzt Alsa hier auch snd_intel8x0, snd_intel8x0m und snd_ac97_codec.
Das gleiche sollte auch mit esddsp statt artsdsp gehen falls du kde-base/arts nicht installiert hast.

Viel Glück.
_________________
---> signaturlos <---
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum