Skip to contentSkip to conversation

A cosmetic but useful change on soundcard.h

DISCUSSION DervishD 2 participants 2 messages May 20, 2002

lore
Share & tools
lore

DervishD

author
#0 lore raw

Hello all :)

I've seen that the device names and device labels for the mixer
on soundcard.h are somewhat incongruent. It seems that the first labels and names length is 5 characters, even padding shorter ones with spaces, but newly added labels are longer than that.

Would be possible (I can make the patch, is *very* easy) to pad
*all* labels and names so all them are of the same size? Moreover, adding a #define with that size would help a lot user-space apps like mixers and the like. Simply using '80' as the size doesn't help, and I've seen a couple of mixer doing this...

How about it?

Raúl

#1 lore raw
Quoted 5 lines

Would be possible (I can make the patch, is *very* easy) to pad
*all* labels and names so all them are of the same size? Moreover, adding a #define with that size would help a lot user-space apps like mixers and the like. Simply using '80' as the size doesn't help, and I've seen a couple of mixer doing this...

I wouldnt worry about it - its best 2.4 keeps current behaviour. For 2.5 ALSA replaces OSS. If ALSA has the same stuff then fix ALSA