[Alsa-user] Separate outputs stereo management.

2008-03-24 Thread ClapClap
Hi,

I'm trying to set up my sound installation on my computer.
I've got one HDA-Intel 7.1 audio device.
I have found on Alsa Wiki the Squisher's .asourndrc file which permit to 
use on audio device as two.
I want sound goes to my headphone or goes to HiFi.
Actually, squisher's .asoundrc works fine but it can not duplicate 
channel when play mono stream, so mono goes only on left channel.

Is it possible to duplicate automatically the channel when playiing mono 
stream ?
Whithout this .asoundrc, the device automatically duplicate mono stream.
But it sends audio output on all output...
I tried the LADSPA mono to stereo plugin (1406) but it does not 
duplicate the stream.

Please, can someone help me ?..


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] intel-hda

2008-03-24 Thread jonr
Hello,

I am having a problem with my soundcard, obviously, here is what I have:

lspci reports:

00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)

02:00.1 Audio device: ATI Technologies Inc Unknown device aa10

I am not sure where the ATI device is coming from.

I have installed the latest alsa-driver, alsa-lib and alsa-utils. All  
of them built cleanly.

lsmod reports:

snd_hda_intel 277364  0
snd_pcm75276  1 snd_hda_intel
snd_timer  23176  1 snd_pcm
snd50404  3 snd_hda_intel,snd_pcm,snd_timer
soundcore   8096  1 snd
snd_page_alloc 10568  2 snd_hda_intel,snd_pcm


So far everything looks right to me, but I am not sure if it is correct.

Here is what I get when I try to play a mp3:

  mpg123 Dire\ Straits\ -\ Sultans\ Of\ Swing.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
Version 0.59q (2002/03/23). Written and copyrights by Joe Drew.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Title  : Sultans Of SwingArtist: Dire Straits
Album  : Year  :
Comment: Genre : Rock

Playing MPEG stream from Dire Straits - Sultans Of Swing.mp3 ...
MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:3513:(_snd_config_evaluate) function  
snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat  
returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer  
returned error: No such file or directory
ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file  
or directory
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default
ALSA snd_pcm_open error: No such file or directory
Can't find a suitable libao driver. (Is device in use?)

And here again I try to  specify alsa and the device:

mpg123 -o alsa -a default:NVidia Dire\ Straits\ -\ Sultans\ Of\ Swing.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
Version 0.59q (2002/03/23). Written and copyrights by Joe Drew.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Title  : Sultans Of SwingArtist: Dire Straits
Album  : Year  :
Comment: Genre : Rock

Playing MPEG stream from Dire Straits - Sultans Of Swing.mp3 ...
MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
Can't open libao driver with device default (is device in use?)


As far as I can tell the driver is not in use but how can I tell for sure?

The card is in /proc:

cat /proc/asound/cards
  0 [NVidia ]: HDA-Intel - HDA NVidia
   HDA NVidia at 0xfe024000 irq 16


At this point I am lost as to what to try next. Can anybody give me  
some help or some ideas on what to try next?

Thanks for any help,

Jon



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] intel-hda

2008-03-24 Thread jonr
Always forget the important stuff:

Source based distro

kernel version: 2.6.24.3

alsa version  :
alsa-driver extras   1.0.16
alsa-libextras   1.0.16
alsa-utils  extras   1.0.16

Alsa was built as a module in the kernel.


Quoting [EMAIL PROTECTED]:

 Hello,

 I am having a problem with my soundcard, obviously, here is what I have:

 lspci reports:

 00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)

 02:00.1 Audio device: ATI Technologies Inc Unknown device aa10

 I am not sure where the ATI device is coming from.

 I have installed the latest alsa-driver, alsa-lib and alsa-utils. All
 of them built cleanly.

 lsmod reports:

 snd_hda_intel 277364  0
 snd_pcm75276  1 snd_hda_intel
 snd_timer  23176  1 snd_pcm
 snd50404  3 snd_hda_intel,snd_pcm,snd_timer
 soundcore   8096  1 snd
 snd_page_alloc 10568  2 snd_hda_intel,snd_pcm


 So far everything looks right to me, but I am not sure if it is correct.

 Here is what I get when I try to play a mp3:

   mpg123 Dire\ Straits\ -\ Sultans\ Of\ Swing.mp3
 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
 Version 0.59q (2002/03/23). Written and copyrights by Joe Drew.
 Uses code from various people. See 'README' for more!
 THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
 Title  : Sultans Of SwingArtist: Dire Straits
 Album  : Year  :
 Comment: Genre : Rock

 Playing MPEG stream from Dire Straits - Sultans Of Swing.mp3 ...
 MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
 ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
 ALSA lib conf.c:3513:(_snd_config_evaluate) function
 snd_func_card_driver returned error: No such file or directory
 ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
 ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat
 returned error: No such file or directory
 ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
 ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer
 returned error: No such file or directory
 ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file
 or directory
 ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default
 ALSA snd_pcm_open error: No such file or directory
 Can't find a suitable libao driver. (Is device in use?)

 And here again I try to  specify alsa and the device:

 mpg123 -o alsa -a default:NVidia Dire\ Straits\ -\ Sultans\ Of\ Swing.mp3
 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
 Version 0.59q (2002/03/23). Written and copyrights by Joe Drew.
 Uses code from various people. See 'README' for more!
 THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
 Title  : Sultans Of SwingArtist: Dire Straits
 Album  : Year  :
 Comment: Genre : Rock

 Playing MPEG stream from Dire Straits - Sultans Of Swing.mp3 ...
 MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
 Can't open libao driver with device default (is device in use?)


 As far as I can tell the driver is not in use but how can I tell for sure?

 The card is in /proc:

 cat /proc/asound/cards
   0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xfe024000 irq 16


 At this point I am lost as to what to try next. Can anybody give me
 some help or some ideas on what to try next?

 Thanks for any help,

 Jon



 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Alsa-user mailing list
 Alsa-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/alsa-user






-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] intel-hda

2008-03-24 Thread Bill Unruh

alsamixer

See what it says.

aplay something.wav

( where something is some wav file)


On Mon, 24 Mar 2008, [EMAIL PROTECTED] wrote:

 Hello,

 I am having a problem with my soundcard, obviously, here is what I have:

 lspci reports:

 00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)

 02:00.1 Audio device: ATI Technologies Inc Unknown device aa10

 I am not sure where the ATI device is coming from.

 I have installed the latest alsa-driver, alsa-lib and alsa-utils. All
 of them built cleanly.

 lsmod reports:

 snd_hda_intel 277364  0
 snd_pcm75276  1 snd_hda_intel
 snd_timer  23176  1 snd_pcm
 snd50404  3 snd_hda_intel,snd_pcm,snd_timer
 soundcore   8096  1 snd
 snd_page_alloc 10568  2 snd_hda_intel,snd_pcm


 So far everything looks right to me, but I am not sure if it is correct.

 Here is what I get when I try to play a mp3:

  mpg123 Dire\ Straits\ -\ Sultans\ Of\ Swing.mp3
 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
 Version 0.59q (2002/03/23). Written and copyrights by Joe Drew.
 Uses code from various people. See 'README' for more!
 THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
 Title  : Sultans Of SwingArtist: Dire Straits
 Album  : Year  :
 Comment: Genre : Rock

 Playing MPEG stream from Dire Straits - Sultans Of Swing.mp3 ...
 MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
 ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
 ALSA lib conf.c:3513:(_snd_config_evaluate) function
 snd_func_card_driver returned error: No such file or directory
 ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
 ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat
 returned error: No such file or directory
 ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
 ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer
 returned error: No such file or directory
 ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file
 or directory
 ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default
 ALSA snd_pcm_open error: No such file or directory
 Can't find a suitable libao driver. (Is device in use?)

 And here again I try to  specify alsa and the device:

 mpg123 -o alsa -a default:NVidia Dire\ Straits\ -\ Sultans\ Of\ Swing.mp3
 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
 Version 0.59q (2002/03/23). Written and copyrights by Joe Drew.
 Uses code from various people. See 'README' for more!
 THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
 Title  : Sultans Of SwingArtist: Dire Straits
 Album  : Year  :
 Comment: Genre : Rock

 Playing MPEG stream from Dire Straits - Sultans Of Swing.mp3 ...
 MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
 Can't open libao driver with device default (is device in use?)


 As far as I can tell the driver is not in use but how can I tell for sure?

 The card is in /proc:

 cat /proc/asound/cards
  0 [NVidia ]: HDA-Intel - HDA NVidia
   HDA NVidia at 0xfe024000 irq 16


 At this point I am lost as to what to try next. Can anybody give me
 some help or some ideas on what to try next?

 Thanks for any help,

 Jon



 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Alsa-user mailing list
 Alsa-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/alsa-user


-- 
William G. Unruh   |  Canadian Institute for| Tel: +1(604)822-3273
PhysicsAstronomy  | Advanced Research  | Fax: +1(604)822-5324
UBC, Vancouver,BC  |   Program in Cosmology | [EMAIL PROTECTED]
Canada V6T 1Z1 |  and Gravity   |  www.theory.physics.ubc.ca/

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] ALSA driver compile error (hg)

2008-03-24 Thread Stephen Stocker
   Hi,

   With a fresh checkout of the hg repository (alsa-driver and alsa-kernel), 
I'm getting a compile error. I finally reverted both to February 15, and 
everything compiles fine. I'm totally lost on this one, it's a strange 
error, but here it is:

---

gcc -D__KERNEL__ -DMODULE=1 -I/home/lpar/alsa-driver/include  -I/lib/modules/2.4
.24-ck1/build/include -O2 -mpreferred-stack-boundary=2 -march=i586 -DLINUX -Wall
  -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 
-fno-strict-aliasin
g -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include -DMODVERSIONS -i
nclude /lib/modules/2.4.24-ck1/build/include/linux/modversions.h  -DKBUILD_BASEN
AME=vmaster   -c -o vmaster.o vmaster.c
In file included from vmaster.c:3:
../alsa-kernel/core/vmaster.c:258: error: parse error before 
this_object_must_be_defined_as_export_objs_in_the_Makefile
../alsa-kernel/core/vmaster.c:258: warning: type defaults to `int' in 
declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile'
../alsa-kernel/core/vmaster.c:258: warning: data definition has no type or 
storage class
../alsa-kernel/core/vmaster.c:371: error: parse error before 
this_object_must_be_defined_as_export_objs_in_the_Makefile
../alsa-kernel/core/vmaster.c:371: warning: type defaults to `int' in 
declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile'
../alsa-kernel/core/vmaster.c:371: warning: data definition has no type or 
storage class
make[1]: *** [vmaster.o] Error 1
make[1]: Leaving directory `/home/lpar/alsa-driver/acore'
make: *** [compile] Error 1

---

   Same system, mostly Slackware 10, gcc 3.3.4. The latest hg snapshot also 
gave the same error, if that helps. Thanks for your help, as always. :)

   Steve


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] intel-hda

2008-03-24 Thread jonr
Quoting Bill Unruh [EMAIL PROTECTED]:


 alsamixer

 See what it says.

 aplay something.wav

 ( where something is some wav file)



I almost don't want to say what I did or better, what I didn't do. So  
I had it all right but forgot to run 'snddevices'. I am now going to  
crawl inside a hole to try and hide my shame.

Thanks Bill!

Jon



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user