Re: [gentoo-user] recording with ALSA dmix? (TeamSpeak problems)

2005-06-06 Thread michael


On Sun, 5 Jun 2005, [WINDOWS-1252] Peter Ga~^i wrote:


Hi people,

I am using kernel-builtin ALSA and dmix for sound, as my sound card
doesn't support hardware mixing, but i can't make teamspeak work. I
have read on the forums that dmix doesn't support full duplex, so i
would like to ask if anyone knows of some hack to get sound
recording/microphone work in this situation. Or should people without
hardware mixing on their cards give up hope on recording and listening
to multiple sound sources at once?

Thanks for any hints.

Peter

--
gentoo-user@gentoo.org mailing list



Hi Peter,

You should join, and ask this question, on the linux audio group,
something like:

http://www.linuxdj.com/audio/lad/subscribelau.php

They are a very helpful group.

Good luck,

Michael

--
gentoo-user@gentoo.org mailing list



[gentoo-user] recording with ALSA dmix? (TeamSpeak problems)

2005-06-05 Thread Peter Gaži
Hi people, 

I am using kernel-builtin ALSA and dmix for sound, as my sound card
doesn't support hardware mixing, but i can't make teamspeak work. I
have read on the forums that dmix doesn't support full duplex, so i
would like to ask if anyone knows of some hack to get sound
recording/microphone work in this situation. Or should people without
hardware mixing on their cards give up hope on recording and listening
to multiple sound sources at once?

Thanks for any hints. 

Peter

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] recording with ALSA dmix? (TeamSpeak problems)

2005-06-05 Thread Richard Fish
Peter Gai wrote:

Hi people, 

I am using kernel-builtin ALSA and dmix for sound, as my sound card
doesn't support hardware mixing, but i can't make teamspeak work. I
have read on the forums that dmix doesn't support full duplex, so i
would like to ask if anyone knows of some hack to get sound
recording/microphone work in this situation. 


I've never needed to do this, but I think you might be able to do this
with either jack (USE=jack emerge -Dv --newuse world) or dsnoop.

http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php?module=Generic
http://jackit.sourceforge.net


-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] recording with ALSA dmix? (TeamSpeak problems)

2005-06-05 Thread Rhywek
Richard Fish wrote:

Peter Gai wrote:

  

Hi people, 

I am using kernel-builtin ALSA and dmix for sound, as my sound card
doesn't support hardware mixing, but i can't make teamspeak work. I
have read on the forums that dmix doesn't support full duplex, so i
would like to ask if anyone knows of some hack to get sound
recording/microphone work in this situation. 




I've never needed to do this, but I think you might be able to do this
with either jack (USE=jack emerge -Dv --newuse world) or dsnoop.

http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php?module=Generic
http://jackit.sourceforge.net


-Richard

  

I had similar problem. Try to put such a config in /etc/asound.conf (or
.asoundrc if you prefer). It helped me and now I can smoothly record
while playing at least 3 music files at once (at least through alsa output).

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

pcm.asymed {
type asym
playback.pcm dmixer
capture.pcm hw:0,0
}


 
pcm.dsp0 {
type plug
slave.pcm asymed
}
 
pcm.!default {
type plug
slave.pcm asymed
}
 
pcm.default {
   type plug
   slave.pcm asymed
}
 
ctl.mixer0 {
type hw
card 0
}

You can see more hardware specific configs in dmix HOWTO on gentoo-wiki,
AFAIR. After changing the config, don't forget to restart ALSA.

Rhywek.



-- 
gentoo-user@gentoo.org mailing list