RE: [Alsa-devel] CVS doesn't compile
Sorry, I didnt know that compilers can get angry with []. Use the attached patch. What compiler version are you using ? Markus. -Original Message- From: Martin Langer [mailto:[EMAIL PROTECTED] Sent: Sun 7/27/2003 11:36 AM To: [EMAIL PROTECTED] Cc: Subject:[Alsa-devel] CVS doesn't compile Sorry to say, but CVS doesn't compile! Building the mixart driver fails: make[3]: Entering directory /usr/local/src/alsa-cvs/alsa-driver/pci/mixart' gcc -D__KERNEL__ -DMODULE=1 -I/usr/local/src/alsa-cvs/alsa-driver/include -I/lib/modules/2.4.19-rc1/build/include -O2 -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -DKBUILD_BASENAME=mixart -c -o mixart.o mixart.c In file included from mixart.c:35: mixart_core.h:292: field streams' has incomplete type make[3]: *** [mixart.o] Error 1 make[3]: Leaving directory /usr/local/src/alsa-cvs/alsa-driver/pci/mixart' make[2]: *** [_modsubdir_mixart] Error 2 make[2]: Leaving directory /usr/local/src/alsa-cvs/alsa-driver/pci' make[1]: *** [compile] Error 1 martin --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel --- pci/mixart-cvs/mixart_core.h 2003-07-22 15:39:10.0 +0200 +++ pci/mixart/mixart_core.h 2003-07-28 09:30:19.0 +0200 @@ -289,7 +289,7 @@ struct mixart_timer_notify { u32 stream_count; - mixart_sample_pos_t streams[]; + mixart_sample_pos_t streams[MIXART_MAX_STREAM_PER_CARD * MIXART_MAX_CARDS]; } __attribute__((packed));
Re: [Alsa-devel] [ANN] hdspmixer-1.1
Hi Thomas, At Sun, 27 Jul 2003 17:44:57 +0200 (CEST), Thomas Charbonnel wrote: Hi, This is already a bugfix release : * Fixes a typo for Digiface and H9652 cards in HDSPMixerSelector.cxx (caused a crash on startup) * Fixes a menu messing bug in Submix handling * Fixes FLTK detection in configure * Fixes a bug preventing full reset to factory settings It's available from: http://www.undata.org/~thomas/ please let me know if you think it's ok to merge into alsa-tools cvs tree. i'll do it asap. Takashi --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel
Re: [Alsa-devel] [ANN] hdspmixer-1.1
At Mon, 28 Jul 2003 11:24:06 +0200, I wrote: Hi Thomas, At Sun, 27 Jul 2003 17:44:57 +0200 (CEST), Thomas Charbonnel wrote: Hi, This is already a bugfix release : * Fixes a typo for Digiface and H9652 cards in HDSPMixerSelector.cxx (caused a crash on startup) * Fixes a menu messing bug in Submix handling * Fixes FLTK detection in configure * Fixes a bug preventing full reset to factory settings It's available from: http://www.undata.org/~thomas/ please let me know if you think it's ok to merge into alsa-tools cvs tree. i'll do it asap. well, i included the version 1.1 into the cvs alsa-tools tree right now, since we'll release the new tarball soon. i hope you don't mind... Takashi --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel
[Alsa-devel] SPDIF and alsa, does it works for all cards/receivers?
Hello list ;-) I have a stupid 5.1 system from Hercules which don't work perfectly in the sense, that when I connect it to a SBlive with a coaxial connexion it works (I can hear lots of noise, but my cable is very bad), my receiver goes in Dolby Digital mode with Dolby Digital signal and go back to Stereo mode without Dolby Digital signal: fine with SBlive. Unfortunately, my motherboard has an integrated intel8x0 with optical SPDIF, and I can't by any way play any Dolby Digital signal with it, I can only hardly plays with the http://bitstreamout.sourceforge.net/ which forward the signal from DVB and sent it to the soundcard SPDIF, then my receiver turns in Dolby Digital on Dolby Digital signal, and stay in this mode even after the end of the Dolby Digital signal... and then refuse to play anything at all??? And even worse: I have a Digital 7.1 card, with it I cannot put my receiver in 5.1 at all??? I just copy an expert, Dr. Werner Fink, as he spoke in the [EMAIL PROTECTED] mailing list about a problem with AC3overDVB: As long as the hardware on the DVB cards are not able to put the 16bit none audio PCM data stream into a 32bit none audio S/P-DIF transport stream all receivers which uses the bit flags of the S/P-DIF transport stream for identifying none audio loose. All S/P-DIF data get from the DVB card to not have the none audio bit set. AFAIK this is a hardware bug (or better this is the information I've got from TT) ... Is there such limitation with either my integrated intel8x0 or with the cs46xx card or??? Or is it only ALSA limitation (for example, with the Digifire 7.1 it works under windows...)? Grégoire __ http://www-ima.unil.ch/greg ICQ:16624071 mailto:[EMAIL PROTECTED] --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel
Re: [Alsa-devel] SPDIF and alsa, does it works for all cards/receivers?
Gregoire Favre wrote: Hello list ;-) I have a stupid 5.1 system from Hercules which don't work perfectly in the sense, that when I connect it to a SBlive with a coaxial connexion it works (I can hear lots of noise, but my cable is very bad), my receiver goes in Dolby Digital mode with Dolby Digital signal and go back to Stereo mode without Dolby Digital signal: fine with SBlive. Unfortunately, my motherboard has an integrated intel8x0 with optical SPDIF, and I can't by any way play any Dolby Digital signal with it, I can only hardly plays with the http://bitstreamout.sourceforge.net/ which forward the signal from DVB and sent it to the soundcard SPDIF, then my receiver turns in Dolby Digital on Dolby Digital signal, and stay in this mode even after the end of the Dolby Digital signal... and then refuse to play anything at all??? And even worse: I have a Digital 7.1 card, with it I cannot put my receiver in 5.1 at all??? I just copy an expert, Dr. Werner Fink, as he spoke in the [EMAIL PROTECTED] mailing list about a problem with AC3overDVB: As long as the hardware on the DVB cards are not able to put the 16bit none audio PCM data stream into a 32bit none audio S/P-DIF transport stream all receivers which uses the bit flags of the S/P-DIF transport stream for identifying none audio loose. All S/P-DIF data get from the DVB card to not have the none audio bit set. AFAIK this is a hardware bug (or better this is the information I've got from TT) ... Is there such limitation with either my integrated intel8x0 or with the cs46xx card or??? Or is it only ALSA limitation (for example, with the Digifire 7.1 it works under windows...)? Grégoire __ http://www-ima.unil.ch/greg ICQ:16624071 mailto:[EMAIL PROTECTED] You are correct, SPDIF and alsa does NOT work with all cards and all receivers. Points to note: - 1) Does the receiver require non-audio bit to be set? Some do, some don't. My receiver does need it. 2) Does the sound card set the non-audio bit correctly when outputting AC3 data. The SB Live does this correctly. 3) Does the sound card output data un-modified from the PC to the SPDIF socket. The SB Live does interpolation on the PCM samples from the PC, so that the samples comming out of the SPDIF are different from the PCM samples from the PC. This therefore corrupts the AC3 frame (crc checks are done on it by the receiver) and no sound is output. (Normal stereo sound works because the ear cannot tell the difference between interpolated samples and the original samples). The alsa programmers have done a special work around for the SB Live problem, using something called the TRAM, in order to bypass the interpolators and get perfect AC3 output. 4) Sample rates. Some audio cards can only work at 48Khz, or only at 44.1Khz, so outputting an AC3 signal from a DVD requires 48Khz, but outputting a AC3 signal from a CD requires 44.1khz. So, depending on where the media file with AC3 in it came from, it may or may not play. It seems that SPDIF AC3 output is about the last feature that the alsa developers add when a new card is supported with alsa. As intel8x0 is used on so many different motherboards, alsa cannot hope to support them all. The important issue with intel8x0 is the type of ac97 chip used. If you run alsamixer, in the top left corner, it will have Chip: . Which chip does you motherboard have. All motherboards use different chips, and it is the programming of that chip that is required in order to set the non-audio bits. Summary: - Your problems are most likely to be (2) and (4). Cheers James --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel
Re: [Alsa-devel] [ANN] hdspmixer-1.1
It's done (hdspconf-1.1): http://www.undata.org/~thomas/ It fixes a small bug + an issue in card detection preventing it to work with hdsp9652 cards. It fixes too FLTK detection in configure. Thanks, Thomas --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel
Re: [Alsa-devel] [ANN] hdspmixer-1.1
At Mon, 28 Jul 2003 14:53:52 +0200 (CEST), Thomas Charbonnel wrote: It's done (hdspconf-1.1): http://www.undata.org/~thomas/ It fixes a small bug + an issue in card detection preventing it to work with hdsp9652 cards. It fixes too FLTK detection in configure. thanks, it's now on cvs. i hope it can slip into 0.9.6 release. Takashi --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel
RE: [Alsa-devel] CVS doesn't compile
-Original Message- From: Takashi Iwai [mailto:[EMAIL PROTECTED] Sent: Monday, July 28, 2003 11:27 AM To: Markus Bollinger Cc: Martin Langer; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [Alsa-devel] CVS doesn't compile At Mon, 28 Jul 2003 10:16:03 +0200, Markus Bollinger wrote: [1 text/plain; Windows-1252 (quoted-printable)] Sorry, I didnt know that compilers can get angry with []. i didn't get error with gcc-3.3. perhaps gcc-2.x only...? Use the attached patch. or [1] would be enough, i believe. for GCC, [0] is ok, too (although it's not strictly defined in ANSI). There is only once use of this stuct by a pointer to it, so it makes no difference for the stack or the generated code. Markus. --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel
Re: [Alsa-devel] SPDIF and alsa, does it works for all cards/receivers?
On Mon, Jul 28, 2003 at 01:33:43PM +0100, James Courtier-Dutton wrote: You are correct, SPDIF and alsa does NOT work with all cards and all receivers. Points to note: - 1) Does the receiver require non-audio bit to be set? Some do, some don't. My receiver does need it. Yes, unfortunately it does!!! 2) Does the sound card set the non-audio bit correctly when outputting AC3 data. The SB Live does this correctly. I think the cs46xx and the intel-8x0 don't (like my DVB card). 3) Does the sound card output data un-modified from the PC to the SPDIF socket. The SB Live does interpolation on the PCM samples from the PC, so that the samples comming out of the SPDIF are different from the PCM samples from the PC. This therefore corrupts the AC3 frame (crc checks are done on it by the receiver) and no sound is output. (Normal stereo sound works because the ear cannot tell the difference between interpolated samples and the original samples). The alsa programmers have done a special work around for the SB Live problem, using something called the TRAM, in order to bypass the interpolators and get perfect AC3 output. So, maybe I should consider using a SBlive (and buy a good cable for it)!!! 4) Sample rates. Some audio cards can only work at 48Khz, or only at 44.1Khz, so outputting an AC3 signal from a DVD requires 48Khz, but outputting a AC3 signal from a CD requires 44.1khz. So, depending on where the media file with AC3 in it came from, it may or may not play. I am not sure of the sample rate that come from the DVB source? It seems that SPDIF AC3 output is about the last feature that the alsa developers add when a new card is supported with alsa. As intel8x0 is used on so many different motherboards, alsa cannot hope to support them all. The important issue with intel8x0 is the type of ac97 chip used. If you run alsamixer, in the top left corner, it will have Chip: . Which chip does you motherboard have. I am not at home now, but according to http://www.msi.com.tw/program/products/mainboard/mbd/pro_mbd_detail.php?UID=311MODEL=MS-6398E I have a Realtek ALC650 6-channel audio All motherboards use different chips, and it is the programming of that chip that is required in order to set the non-audio bits. Summary: - Your problems are most likely to be (2) and (4). I think (2) is the real one, because, a friend with the same Digifire 7.1 card and another receiver have perfekt 5.1 sound with his receiver. Is there any hope for it to be solved? It's not a real problem for me to use the SBlive or the Digifire 7.1 as I don't really need the Firewire of the Digifire 7.1 ;-) Thank you very much, Grégoire __ http://www-ima.unil.ch/greg ICQ:16624071 mailto:[EMAIL PROTECTED] --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel
[Alsa-devel] Trivial hdsp.c patch to support rev 50 cards
Hi, This adds rev 50 to the list of supported cards. Thomas hdsp_rev50.patch Description: Binary data
Re: [Alsa-devel] Trivial hdsp.c patch to support rev 50 cards
At Mon, 28 Jul 2003 15:47:44 +0200 (CEST), Thomas Charbonnel wrote: Hi, This adds rev 50 to the list of supported cards. thanks, applied to cvs. Takashi --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel
Re: [Alsa-devel] Trivial hdsp.c patch to support rev 50 cards
This adds rev 50 to the list of supported cards. i will have a slightly longer patch that includes this, later today. also included will be a no_mixer option for the hdsp9652. --p --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel
RE: [Alsa-devel] Trivial hdsp.c patch to support rev 50 cards
This adds rev 50 to the list of supported cards. i will have a slightly longer patch that includes this, later today. also included will be a no_mixer option for the hdsp9652. --p Paul, Is this envisioned an option in modules.conf, or a compile time option? Also, while I have your attention, can you clarify whether the RME Hammerfall 9652 and 9636 have mixers? I made one of my 9636 machines into dual boot last evening and then found alsamixer didn't work. I assume that means the 9636 has no mixer, or is this a bug I should be reporting somewhere? Thanks, Mark --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel
RE: [Alsa-devel] Trivial hdsp.c patch to support rev 50 cards
Is this envisioned an option in modules.conf, or a compile time option? modules.conf. Also, while I have your attention, can you clarify whether the RME Hammerfall 9652 and 9636 have mixers? I made one of my 9636 machines into dual boot last evening and then found alsamixer didn't work. I assume that means the 9636 has no mixer, or is this a bug I should be reporting somewhere? the digi9652 and digi9636 have no mixer. --p Thanks for the info. So then the only way to set volume levels on a DIGI9652 or DIGI9636 when using Alsa is either in the application, or using some form of a script like: #!/bin/bash for i in $(seq 1 26);do amixer -c 0 sset 'Chn',$i 85% done Thanks, Mark --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel
Re: [Alsa-devel] [ANN] hdspmixer-1.1
Hi Thomas, congrats! Great to have this with linux as well (and it's good to have it look the same, too). It compiled right away after a minor fix for FLTK header file name (patch attached). -- Orm Am Sonntag, den 27. Juli 2003 um 17:44:57 Uhr (+0200) schrieb Thomas Charbonnel: Hi, This is already a bugfix release : * Fixes a typo for Digiface and H9652 cards in HDSPMixerSelector.cxx (caused a crash on startup) * Fixes a menu messing bug in Submix handling * Fixes FLTK detection in configure * Fixes a bug preventing full reset to factory settings It's available from: http://www.undata.org/~thomas/ Thomas --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel --- src/HDSPMixerMeter.h-orig 2003-03-04 10:06:46.0 +0100 +++ src/HDSPMixerMeter.h2003-07-28 20:20:39.0 +0200 @@ -23,7 +23,7 @@ #define HDSPMixerMeter_H #include FL/Fl_Widget.H -#include FL/fl_draw.h +#include FL/fl_draw.H #include HDSPMixerWindow.h #include HDSPMixerPeak.h #include pixmaps.h
[Alsa-devel] RME HDSP
Hello ALSA Can someone tell me what the differences are between PCI busmastering for the RME HDSP and the RME digi 9652 cards. Does RME use a third party vendor for the bus master controller? If so do you know who? Thanks, Daniel --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel
Re: [Alsa-devel] CVS doesn't compile
On Mon, Jul 28, 2003 at 11:26:59AM +0200, Takashi Iwai wrote: At Mon, 28 Jul 2003 10:16:03 +0200, Markus Bollinger wrote: [1 text/plain; Windows-1252 (quoted-printable)] Sorry, I didnt know that compilers can get angry with []. i didn't get error with gcc-3.3. perhaps gcc-2.x only...? it's gcc 2.95.4 from debian woody thanks for the fix, martin --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel
Re: [Alsa-devel] RME HDSP
Can someone tell me what the differences are between PCI busmastering for the RME HDSP and the RME digi 9652 cards. Does RME use a third party vendor for the bus master controller? If so do you know who? no idea. you'd have to know which chips to look for on the boards. AFAIK, there are no differences between the two systems implementation of PCI busmastering, but its not something i've ever considered asking about. --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel
[Alsa-devel] Core Sound PDAudio-CF
Please add the Core Sound PDAudio-CF card to the ALSA Soundcard Matrix. PDAudio-CF is a Type I extended compact flash card that provides optical and coaxial IEC958-compatible inputs. It allows PDAs, laptops and desktop PCs to accept digital audio data streams (S/PDIF, AC3, DTS, ATRAC, MPEG) with sample rates ranging from 32 to 192 KS/s and word widths from 16 to 24-bits wide. It is fully supported by an ALSA driver and runs reliably on computers ranging from HP iPAQ PDAs to the latest generation laptop and desktop PCs. A two-channel linear PCM recording application (PDAudio Recorder) is available, including GPL'ed open source. Thanks! Len Moskowitz Core Sound www.core-sound.com --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel