Skip to contentSkip to conversation

: Master volume only controls front output (emu10k1)

ALSA - lib 0000154 Adam K Kirchhoff 4 participants 5 messages May 21, 2005 – May 27, 2005 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 9 lines · [email protected] wrote:

----------------------------------------------------------------------
rlrevell - 05-20-05 22:05
----------------------------------------------------------------------
Sorry, I don't have time to work on this. Please bug the ALSA developers to get the abstract mixer layer finished.

Hey developers, what's up with the abstract mixer layer? :-)

Adam

-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click

#2 lore raw
Quoted 12 lines · Adam K Kirchhoff
Quoted 9 lines · [email protected] wrote:

----------------------------------------------------------------------
rlrevell - 05-20-05 22:05
----------------------------------------------------------------------
Sorry, I don't have time to work on this. Please bug the ALSA developers to get the abstract mixer layer finished.

Quoted 5 lines

Hey developers, what's up with the abstract mixer layer? :-)

Adam

Anyone?

Adam

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005

#3 lore raw
Quoted 15 lines · Adam K Kirchhoff
Quoted 13 lines · Adam K Kirchhoff
Quoted 10 lines · [email protected] wrote:

----------------------------------------------------------------------
rlrevell - 05-20-05 22:05
----------------------------------------------------------------------
Sorry, I don't have time to work on this. Please bug the ALSA developers
to get the abstract mixer layer finished.

Quoted 7 lines
Quoted 5 lines

Hey developers, what's up with the abstract mixer layer? :-)

Adam

Anyone?

I am working on it, but also doing zillions of other things. The actual status is that the virtual mixer can be created inside the lisp interpreter. I am looking for a clever code design to map the hardware controls with minimal lisp code to abstract ones.... I need something like an object model inside lisp (object == mixer element).

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005

#4 lore raw
Quoted 10 lines · Jaroslav Kysela
Quoted 4 lines
Quoted 2 lines

Hey developers, what's up with the abstract mixer layer? :-)

Anyone?

I am working on it, but also doing zillions of other things. The actual status is that the virtual mixer can be created inside the lisp interpreter. I am looking for a clever code design to map the hardware controls with minimal lisp code to abstract ones.... I need something like an object model inside lisp (object == mixer element).

I was thinking about it, too. I'm not sure the lisp thing is the right way. If we want it to be generic enough we have to make a quite big part of the API available to the lisp interpreter. It would make the interface quite difficult to use and lisp doesn't make things simpler.
I wonder if, maybe, it is simpler to write a loadable plugin interface and write the plugins in C as usual. A plugin is fast (no need to be interpreted), it's about as complex as a lisp program (same API) and it can be added without recompiling libasound (just like a lisp script) and no need to learn lisp :)

--
Giuliano.

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005

#5 lore raw

At Fri, 27 May 2005 16:43:18 +0200 (CEST),

Quoted 14 lines · Giuliano Pochini
Quoted 10 lines · Jaroslav Kysela
Quoted 4 lines
Quoted 2 lines

Hey developers, what's up with the abstract mixer layer? :-)

Anyone?

I am working on it, but also doing zillions of other things. The actual status is that the virtual mixer can be created inside the lisp interpreter. I am looking for a clever code design to map the hardware controls with minimal lisp code to abstract ones.... I need something like an object model inside lisp (object == mixer element).

Quoted 9 lines

I was thinking about it, too. I'm not sure the lisp thing is the right way. If we want it to be generic enough we have to make a quite big part of the API available to the lisp interpreter. It would make the interface quite difficult to use and lisp doesn't make things simpler.
I wonder if, maybe, it is simpler to write a loadable plugin interface and write the plugins in C as usual. A plugin is fast (no need to be interpreted), it's about as complex as a lisp program (same API) and it can be added without recompiling libasound (just like a lisp script) and no need to learn lisp :)

Ah, that's what I thought of, too. In most cases, what we need are:

- create a new user-defined control
- bind several controls to a single one
- convert/correct the different volume ranges

and they can be implemented relatively easily. We have already the config-tree parser code, so if the static configuration suffices, the plugin would work enough.

The only problem of alsa-lib plugin is, again, the OSS emulation in kernel...

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005