Lasse Kärkkäinen | 1 Mar 2008 01:56
Picon
Picon

Re: ALSA C++ API updated for 1.0.16

Clemens wrote:
> I'm just objecting to the fact that the function name and ALSA's error
> string are combined into a string that cannot easily be parsed later.

As Aldrin pointed out, it is not meant to be parsed. I have now provided
separate functions for accessing the function names directly.

> I'd like to have only the snd_strerror() result as the message.  In this
> case, the function name has to be stored separately if it is needed.

"alsa::pcm::pcm: snd_pcm_open failed: No such file or directory" is
useful for debugging, "No such file or directory" is not. Therefore, I
don't see why you want only snd_strerror in that message.

> While playback will be used more often, I think the difference between
> playback and capture is so big that we cannot make one of them the
> default.

I have removed the default arguments, as you requested.

>>>> hw_config(snd_pcm_t* pcm): pcm(pcm) {
>>>> 	try { current(); } catch (std::runtime_error&) { any(); }
>>> I don't like using exceptions when there's nothing wrong.  Besides,
>>> getting the current parameters may fail due to other errors (like device
>>> unplugged).
>> It seems like a sensible fallback, anyway. The other option would be to
>> load any() settings always and have the user call current(), if he wants
>> those instead. Would you find this preferable?
>
> My preference would be that the user has to indicate whether he wants
(Continue reading)

Ahmet İnan | 1 Mar 2008 12:55
Picon
Favicon

Re: [PATCH] improved snd-aloop quality when using certain samplerates and kernel HZ

> > see, that the buffer actually did go further, which is provided by these
> > patches.
> Applied to HG tree now.  Thanks.

could it be, that you still forgot to apply this patch, but did the other?

[snd-aloop - better realtime app support]
http://www.mathematik.uni-freiburg.de/IAM/homepages/ainan/alsa-driver-hg-aloop-ainan-patch2.diff
[Signed-off-by: Ahmet İnan <ainan <at> mathematik.uni-freiburg.de>]

or you havent synced home alsa-driver with main repository yet,
then never mind :)

thanks

ahmet

--
admin der abteilung für angewandte mathematik, tel. 0761-203-5626
_______________________________________________
Alsa-devel mailing list
Alsa-devel <at> alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Takashi Iwai | 1 Mar 2008 16:22
Picon

Re: [PATCH] improved snd-aloop quality when using certain samplerates and kernel HZ

At Sat, 1 Mar 2008 12:55:06 +0100,
Ahmet İnan wrote:
> 
> > > see, that the buffer actually did go further, which is provided by these
> > > patches.
> > Applied to HG tree now.  Thanks.
> 
> could it be, that you still forgot to apply this patch, but did the other?

It was already applied but a different subject.
Please follow the standard patch style at the next time.

Takashi
Ahmet İnan | 2 Mar 2008 00:35
Picon
Favicon

Re: [PATCH] improved snd-aloop quality when using certain samplerates and kernel HZ

moved module parameter pcm_substreams range check code around, to prevent catastrophe.
removed bogus module parameter pcm_devs code - aloop creates only one pair of devices.
allowed float_le, too.
removed obsolete code.

[snd-aloop - more cleanups]
http://www.mathematik.uni-freiburg.de/IAM/homepages/ainan/alsa-driver-hg-aloop-ainan-patch3.diff
[Signed-off-by: Ahmet İnan <ainan <at> mathematik.uni-freiburg.de>]

patch is relative to my previous patch.

will fix bogus wiki entries, about the module parameters, too.

ahmet

--
admin der abteilung für angewandte mathematik, tel. 0761-203-5626
_______________________________________________
Alsa-devel mailing list
Alsa-devel <at> alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Lee Revell | 2 Mar 2008 04:03

Re: HDMI v. ICH8 on Dell XPS M1330

On Thu, Feb 28, 2008 at 8:29 PM, Armando Di Cianno <armando <at> goodship.net> wrote:
>
>  On Thu, 2008-02-28 at 12:55 -0800, Tellman, Steven wrote:
>  > Notice we use the "Other Digital" as the jack. Is that possibly
>  > causing
>  > a problem? IEC958 shows up, but doesn't provide output to HDMI devices
>  > (that I've tested).
>
>  At a user level, this is definitely what I've experienced.
>
>  Are there any suggestions for testing if my current ALSA
>  install /should/ work, or how to find out if something is misconfigured,
>  or will simply not work?

Do you have the binary ATI driver installed?  Several users have
reported that it's required for HDMI audio to work.

Lee
Tellman, Steven | 2 Mar 2008 23:20
Favicon

Re: HDMI v. ICH8 on Dell XPS M1330

This system is NVidia (or Intel).

________________________________

From: rlrevell <at> gmail.com on behalf of Lee Revell
Sent: Sat 3/1/2008 9:03 PM
To: Armando Di Cianno
Cc: Tellman, Steven; alsa-devel <at> alsa-project.org
Subject: Re: [alsa-devel] HDMI v. ICH8 on Dell XPS M1330

On Thu, Feb 28, 2008 at 8:29 PM, Armando Di Cianno <armando <at> goodship.net> wrote:
>
>  On Thu, 2008-02-28 at 12:55 -0800, Tellman, Steven wrote:
>  > Notice we use the "Other Digital" as the jack. Is that possibly
>  > causing
>  > a problem? IEC958 shows up, but doesn't provide output to HDMI devices
>  > (that I've tested).
>
>  At a user level, this is definitely what I've experienced.
>
>  Are there any suggestions for testing if my current ALSA
>  install /should/ work, or how to find out if something is misconfigured,
>  or will simply not work?

Do you have the binary ATI driver installed?  Several users have
reported that it's required for HDMI audio to work.

Lee
Armando Di Cianno | 2 Mar 2008 23:35
Favicon

Re: HDMI v. ICH8 on Dell XPS M1330


On Sun, 2008-03-02 at 14:20 -0800, Tellman, Steven wrote:
> This system is NVidia (or Intel).

The sound chipset is Intel, the graphics card is Nvidia.  Some of the
m1330 configurations have both Intel audio and graphics.

There's some more detailed alsa-info.sh and lspci output previouisly in
this thread, in case there's other specific info.  In case you require
any other info, please let me know.

--

-- 
Armando Di Cianno
http://dicianno.org/blog
armando <at> dicianno.org
armando <at> goodship.net
Armando Di Cianno | 2 Mar 2008 23:36
Favicon

Re: HDMI v. ICH8 on Dell XPS M1330


On Sat, 2008-03-01 at 22:03 -0500, Lee Revell wrote:
> Do you have the binary ATI driver installed?  Several users have
> reported that it's required for HDMI audio to work.

The binary ATI driver?  Are you talking the graphics driver from ATI?
This is an Nvidia graphics laptop, with Intel HDA audio.

Sorry, if I wasn't clear.
--

-- 
Armando Di Cianno
http://dicianno.org/blog
armando <at> dicianno.org
armando <at> goodship.net
Lee Revell | 2 Mar 2008 23:39

Re: HDMI v. ICH8 on Dell XPS M1330

On Sun, Mar 2, 2008 at 5:36 PM, Armando Di Cianno <armando <at> goodship.net> wrote:
>
>  On Sat, 2008-03-01 at 22:03 -0500, Lee Revell wrote:
>  > Do you have the binary ATI driver installed?  Several users have
>  > reported that it's required for HDMI audio to work.
>
>  The binary ATI driver?  Are you talking the graphics driver from ATI?
>  This is an Nvidia graphics laptop, with Intel HDA audio.
>
>  Sorry, if I wasn't clear.

According to a post from an nvidia employee on nvnews, HDMI is
currently unsupported.  Sorry I don't have the link but you should be
able to search for "Linux HDMI" on the site.

Lee
Tobin Davis | 2 Mar 2008 23:59
Favicon

Re: HDMI v. ICH8 on Dell XPS M1330

It is possible that HDMI audio is pulled from an unknown i2c bus on the
video chip.  3dfx did that a long time ago with their 3500 card for
their tv tuner portion.

I think at this point, unless Steven knows more, this may be unsupported
until nVidia adds support in their driver or opens up part of the spec.

Tobin

On Sun, 2008-03-02 at 14:20 -0800, Tellman, Steven wrote:

> This system is NVidia (or Intel).
> 
> ________________________________
> 
> From: rlrevell <at> gmail.com on behalf of Lee Revell
> Sent: Sat 3/1/2008 9:03 PM
> To: Armando Di Cianno
> Cc: Tellman, Steven; alsa-devel <at> alsa-project.org
> Subject: Re: [alsa-devel] HDMI v. ICH8 on Dell XPS M1330
> 
> 
> 
> On Thu, Feb 28, 2008 at 8:29 PM, Armando Di Cianno <armando <at> goodship.net> wrote:
> >
> >  On Thu, 2008-02-28 at 12:55 -0800, Tellman, Steven wrote:
> >  > Notice we use the "Other Digital" as the jack. Is that possibly
> >  > causing
> >  > a problem? IEC958 shows up, but doesn't provide output to HDMI devices
> >  > (that I've tested).
(Continue reading)


Gmane