Go Back   Champions of Regnum > English > Technical Support > Linux

Linux Technical issues under Linux platform

Reply
 
Thread Tools Display Modes
Old 01-14-2007, 10:57 PM   #1
ChadMC
Initiate
 
ChadMC's Avatar
 
Join Date: Jan 2007
Posts: 235
ChadMC is an unknown quantity at this point
Default TeamSpeak and Regnum Online

Does anyone know how I can use TeamSpeak and play Regnum Online at the same time with the sound working for both? I want to voice chat with my friend while we play. The audio drivers are conflicting. I've been trying to get it to work with a lot of google searching. I think I can get it to work using alsa-oss (command: aoss), but when i use that, the audio in teamspeak is very skippy. I'm not sure if the audio in regnum online is skippy, because the server seems to be down right now.
ChadMC no ha iniciado sesión   Reply With Quote
Old 01-15-2007, 12:26 AM   #2
Arvenil
Pledge
 
Join Date: Dec 2006
Posts: 22
Arvenil is on a distinguished road
Default

Buy soundcard with hardware mixing
Arvenil no ha iniciado sesión   Reply With Quote
Old 01-17-2007, 09:52 AM   #3
ChadMC
Initiate
 
ChadMC's Avatar
 
Join Date: Jan 2007
Posts: 235
ChadMC is an unknown quantity at this point
Default

Yes, but is there nothing I can try to get it to work? Because this same soundcard is capable of doing such things in windows, so I'm sure there must be something I can enable/change to get it to work in linux.
ChadMC no ha iniciado sesión   Reply With Quote
Old 01-17-2007, 10:07 AM   #4
dejan
Apprentice
 
dejan's Avatar
 
Join Date: Dec 2006
Location: United Kingdom
Posts: 92
dejan is on a distinguished road
Arrow

I haven't seen that Regnum has support for that, ChadMC... What You refer at is something like what the opensource library libspeex (for more information: http://www.speex.org/ ) offers.
It would be really cool if speex functionality is incorporated into the Regnum client!
dejan no ha iniciado sesión   Reply With Quote
Old 01-17-2007, 02:24 PM   #5
Arvenil
Pledge
 
Join Date: Dec 2006
Posts: 22
Arvenil is on a distinguished road
Default

Im not sure but if TS and Regnum Online doesn't use alsa then is propably no solution for mixing sound from this two applications.

This two applications should use alsa.
Arvenil no ha iniciado sesión   Reply With Quote
Old 03-28-2007, 05:38 PM   #6
Myxir
Count
 
Myxir's Avatar
 
Join Date: Mar 2007
Location: Germany
Posts: 1,164
Myxir is on a distinguished road
Default

its the "fault" of TeamSpeak... it does not use ALSA, it uses oss.
some people got it to work and others not. @ me it works cause i use two sound cards
Myxir no ha iniciado sesión   Reply With Quote
Old 03-28-2007, 11:00 PM   #7
ChadMC
Initiate
 
ChadMC's Avatar
 
Join Date: Jan 2007
Posts: 235
ChadMC is an unknown quantity at this point
Default

Quote:
Originally Posted by Myxir
its the "fault" of TeamSpeak... it does not use ALSA, it uses oss.
some people got it to work and others not. @ me it works cause i use two sound cards
I've been thinking about doing this too... how do you have yours set up? What do you have each soundcard doing? Because it seems like you can only get TS and regnum to playback on separate sound cards, so how are you getting TS and regnum to playback through the same speakers/headphones?

Or am I thinking about this the wrong way...
ChadMC no ha iniciado sesión   Reply With Quote
Old 03-28-2007, 11:38 PM   #8
Myxir
Count
 
Myxir's Avatar
 
Join Date: Mar 2007
Location: Germany
Posts: 1,164
Myxir is on a distinguished road
Default

Quote:
Originally Posted by ChadMC
I've been thinking about doing this too... how do you have yours set up? What do you have each soundcard doing? Because it seems like you can only get TS and regnum to playback on separate sound cards, so how are you getting TS and regnum to playback through the same speakers/headphones?

Or am I thinking about this the wrong way...
TS comes via my headset and the others via my surround sound system but i think its possible to get it out of the sound system by using some cables connecting the output of my onboardsound with the output of the other sound card.... dunno
i modified my .asoundrc a bit:

Code:
pcm.CA0106 {
        type hw
        card 0
}

ctl.CA0106 {
        type hw
        card 0
}

pcm.intel8x0 {
        type hw
        card 1
}

ctl.intel8x0 {
        type hw
        card 1
}



# Das dmix-Plugin wird definiert.
pcm.dmixer {
    type dmix
    ipc_key 1024
    ipc_perm 0666       # Andere Benutzer können ebenfalls dmix gleichzeitig nutzen
    slave.pcm "card1"
    slave {
        # buffer_size kann bei Problemen der jeweiligen Karte angepasst werden.
        period_time 0
        period_size 1024
        buffer_size 4096
        # bei Störungen kann die Konvertierung auf die Rate 44100 eingeschaltet werden.
        # rate 44100
        # einige Soundkarten benötigen das exakte Datenformat (zB ice1712)
        # format S32_LE
    }
    bindings {
        0 0
        1 1
    }
}

# Das dsnoop-Plugin, welches es erlaubt, mehrere Programme gleichzeitig aufnehmen zu lassen.
pcm.dsnooper {
    type dsnoop
    ipc_key 2048
    ipc_perm 0666 
    slave.pcm "card1"
    slave 
    {
        period_time 0
        period_size 1024
        buffer_size 4096
        # bei Störungen kann die Konvertierung auf die Rate 44100 eingeschaltet werden.
        # rate 44100
        # einige Soundkarten benötigen das exakte Datenformat (zB ice1712)
        # format S32_LE
    }
    bindings {
        0 0
        1 1
    }
}

# Dies definiert unser Fullduplex-Plugin als Standard für alle ALSA-Programme.
pcm.duplex {
    type asym
    playback.pcm "dmixer"
    capture.pcm "dsnooper"
}

pcm.card1 {
    type plug
    slave.pcm "duplex"
}
ca0106 is my main sound card and intel8x0 is my onboard sound card.
It works But in my opinion this is no good solution because not everyone has two sound cards.

€dit:
I forgot something: You need to set TeamSpeaks sound device to /dev/dsp1 in this case.

Last edited by Myxir; 03-29-2007 at 09:47 AM.
Myxir no ha iniciado sesión   Reply With Quote
Old 03-29-2007, 09:09 PM   #9
Arvenil
Pledge
 
Join Date: Dec 2006
Posts: 22
Arvenil is on a distinguished road
Default

Also you can buy some old cheap "sound blaster live!" card which comes with hardware mixing so you can forgot about problems with mixing sound.
Arvenil no ha iniciado sesión   Reply With Quote
Old 03-29-2007, 10:58 PM   #10
Myxir
Count
 
Myxir's Avatar
 
Join Date: Mar 2007
Location: Germany
Posts: 1,164
Myxir is on a distinguished road
Default

i got one but it does not work -.-
Myxir no ha iniciado sesión   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:55 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
NGD Studios 2002-2024 © All rights reserved