Re: [Alsa-user] Sound Card Configuration

2009-08-28 Thread Clemens Ladisch
John Beavers wrote:
 I tried that, that particular suggestion didn't work,

It assumes that you use the default dmix configuration for your
sound card.

 but I changed it to 
 
 pcm.!default rear:Live  and 
 
 pcm.!default front:Live
 
 which did work partially.  However, it broke sound in firefox.  It also
 messed up some flash programs.

The front and rear devices do not do sample rate conversion or
software mixing.

 Also, I was hoping to get the devices X session dependant.  I heard someone
 suggest chrooting each X session, copying the dev directory and linking
 /dev/dsp to /dev/dsp[x] (whatever number card you want for the given X
 session).

That suggestion is for programs using the OSS interface, but your
description above shows that Firefox and Flash use the ALSA interface,
so you should be able to get this to work with ALSA configuration files.

If you set an environment variable ALSA_DEVICE to 0 or 1 for each
session, the following definition in /etc/asound.conf should do what
you want:

pcm.!default {
type plug
slave.pcm {
@func concat
strings [
dmix:CARD=Live,DEV=
{
@func getenv
vars [ ALSA_DEVICE ]
default 0
}
]
}
}


HTH
Clemens

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] audio loopback in linux

2009-08-28 Thread Clemens Ladisch
George Kuriakose wrote:
 I want to loop back audio coming in line-in to line-out with minimum
 latency. Is there any option in amixer or any other similar utility to
 achieve this?

Yes, but only if the hardware supports this.
If not, use some program to record and play the same data back.


Best regards,
Clemens

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] audio loopback in linux

2009-08-28 Thread Julien Claassen
Hi!
   I'm not sure, if alsa does it, still. But you can do it with jackd (Jack 
Audio Connection Kit). It's a low latecny audio server and a lot of Linux 
Audio software support it. You can find packages in your distro.
   Then you simply do:
jack_connect system:capture_1 system:playback_1
jack_connect system:capture_2 system:playback_2
   Or install some GUI connection tool, e.g. qjackctl.
   Hope that helps
 Julien


Music was my first love and it will be my last (John Miles)

 FIND MY WEB-PROJECT AT: 
http://ltsb.sourceforge.net
the Linux TextBased Studio guide
=== AND MY PERSONAL PAGES AT: ===
http://www.juliencoder.de

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Very frustrating ALSA MIDI issue

2009-08-28 Thread Clemens Ladisch
James Gadsby wrote:
 Simply put, MIDI devices are not detected in the audio programs I use,
 despite being detected at the USB level (as seen via lsusb). I know these
 devices work with other PCs,

Linux?

 Here is my lsmod output

There is no snd-usb-audio.  It should be loaded automatically for any
supported device.  Which device are you trying to use?


Best regards,
Clemens

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Very frustrating ALSA MIDI issue

2009-08-28 Thread James Gadsby
These are my soundcards:

 aplay -l
 List of PLAYBACK Hardware Devices 
card 0: NVidia [HDA NVidia], device 0: Cirrus Analog [Cirrus Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: Cirrus Digital [Cirrus Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Additionally, doing a modprobe of snd-usb-audio returns:

FATAL: Module snd_usb_audio not found.




 On Fri, Aug 28, 2009 at 9:44 AM, Clemens Ladisch 
 cladi...@googlemail.comwrote:

 James Gadsby wrote:
  Simply put, MIDI devices are not detected in the audio programs I use,
  despite being detected at the USB level (as seen via lsusb). I know
 these
  devices work with other PCs,

 Linux?

  Here is my lsmod output

 There is no snd-usb-audio.  It should be loaded automatically for any
 supported device.  Which device are you trying to use?


 Best regards,
 Clemens



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] SuSE issues

2009-08-28 Thread Robert Easter
I've posted before about this, and got that I was not giving enough
information.  What was needed, or how to get it, I do not know.  This
laptop computer runs a 1.83 GHz, 2-channel Intel processor(s)  in what
was sold as a System 76 Pangolin.  Whatever OS I run it is a long
guessing game of installing, or removing, the right files to actually
get sound from the thing.  So far, having switched from Ubuntu to SuSE
over keyboard driver issues, I have gotten exactly nowhere.  If anybody
can offer why this is a problem, what info I need, how to get it, or
what to do with it, I would be most grateful.

Thanks,

Robert

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] audio loopback in linux

2009-08-28 Thread James Shatto
On Fri, 28 Aug 2009 10:38:16 +0200 (CEST)
Julien Claassen jul...@c-lab.de wrote:

 Hi!
I'm not sure, if alsa does it, still. But you can do it with jackd (Jack 
 Audio Connection Kit). It's a low latecny audio server and a lot of Linux 
 Audio software support it. You can find packages in your distro.
Then you simply do:
 jack_connect system:capture_1 system:playback_1
 jack_connect system:capture_2 system:playback_2
Or install some GUI connection tool, e.g. qjackctl.
Hope that helps
  Julien
 

jack + qjackctl does this (or the CLI alternative).  If your hardware supports 
it, it'll be listed in alsamixer.  My delta 44 is anyway.  On that card it 
shows as  H/W   H/W 1   H/W 2   H/W 3  and you just change it from PCM 
Out to HW In 0 or whatever source you want.  Bear in mind that if input is a 
mic and the speaker is loud enough you'll get feedback.  And if you're doing it 
for some sort of TV Capture card that audio has less latency than video, so 
you'll hear them talk before their lips move (just slightly) which can/will 
drive you nuts.

HTH,
James

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] aplay - no sound and never returns.

2009-08-28 Thread Benjamin Neuman
I am trying to get spdif out working on my ATIIXP sound card.When I run
aplay -D plughw:0,1 noise.wav, no sound is heard and aplay never returns
to shell prompt.

Any thoughts? Thanks in advance! I can provide more info if needed.

-Ben
Gentoo kernel 2.6.30
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] XFI... again

2009-08-28 Thread Cyrille Brando
Hello,

First of all, I am not a newbie, yet neither a Linux freak. So please be
kind to me :-)
Despite all my researches and findings, I am still not able to get my
XFI Gamer running...

What I already managed to do:

- Last ALSA-driver snapshot
(http://www.kernel.org/pub/linux/kernel/people/tiwai/alsa/alsa-driver/)
downloaded, compiled, installed without error.

- modprobe snd-ctxfi

- lspci found the sound card:
03:06.0 Multimedia audio controller: Creative Labs SB X-Fi

- lspci -nv yet tells me the driver is not associated with the card.

03:06.0 0401: 1102:0005
Subsystem: 1102:0031
Flags: medium devsel, IRQ 19
I/O ports at ec00 [size=32]
Memory at fea0 (64-bit, non-prefetchable) [size=2M]
Memory at f400 (64-bit, non-prefetchable) [size=64M]
Capabilities: [40] Power Management version 2
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+

Everything done on SUSE11.2-RC6.

Any idea what I did wrong?
Thanks for your hep!

Cyrille


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user