Skip to contentSkip to conversation

sscape: general code improvements

DISCUSSION [email protected] 2 participants 2 messages Oct 7, 2009

lore
Share & tools
lore
#0 lore raw

"Takashi Iwai" <[email protected]> pisze:

Quoted 5 lines

At Tue, 6 Oct 2009 19:34:38 +0200,

Quoted 3 lines · Krzysztof Helt

From: Krzysztof Helt <[email protected]>

Quoted 8 lines
Quoted 5 lines

General code and coding style improvements.

Add a missing argument for SET_XXX_MIDI_VOL command.

Do you really want to change oss/sscape.c that you wanted to remove?

No, it is a mistake.

Quoted 4 lines
Quoted 4 lines

---

What is a standard name for switch to select internal or external midi?

Quoted 9 lines

It is very easy to

Quoted 1 line

add such a functionality to the driver.

What do you mean exactly to switch int/ext midi?
Usually the driver provides the interfaces for both, and let user choose. If they are exclusive, it's checked in the open.
Or, if preferred, a control element can be used to choose the interface...

The driver interface (MPU-401 UART) is only one and there is a command to switch it to the on-board synthetizer or external midi (joysitck port on the card).

Regards,
Krzysztof

---------------------------------------------------------------
Zobacz jak pracuje sie na wysokosciach.
Kliknij >>> http://link.interia.pl/f2384

#1 lore raw

At 07 Oct 2009 13:19:25 +0200,

Quoted 12 lines · [email protected] wrote:
Quoted 11 lines
Quoted 2 lines

What is a standard name for switch to select internal or external midi?

It is very easy to

Quoted 1 line

add such a functionality to the driver.

What do you mean exactly to switch int/ext midi?
Usually the driver provides the interfaces for both, and let user choose. If they are exclusive, it's checked in the open.
Or, if preferred, a control element can be used to choose the interface...

Quoted 3 lines

The driver interface (MPU-401 UART) is only one and there is a command to switch it to the on-board synthetizer or external midi (joysitck port on the card).

If it can be done on the fly without any conflict, I'd implement it as a control element. You can use iface=CARD to hide from mixer app, for example.

Takashi