Jump to content

Questions for Astral P...


Guest

Recommended Posts

what do your parents think about your music / career choice?

 

how do you keep the victory & glory vibe alive? dont you ever wanna make sad or melancholic music instead?

Link to comment
Share on other sites

What music traing have you had?

Would it be likely to have a chill out album ever?

And also give 'em a big ups for keeping the old skool alive :-)

Link to comment
Share on other sites

Guest Zaramatu

I have been looking at the emu10k1 driver and I had a few questions

about general idioms used there.

 

 

In a line like this,

 

 

[main.c, line 175]

 

 

for (count = 0; count < sizeof(card->digmix) / sizeof(card->digmix[0]); count++) {

 

 

Isn't there some sort of `ALEN' macro available, or is this

considered to muddy things by using a macro?

 

 

[main.c, line 223]

if ((card->mpuout = kmalloc(sizeof(struct emu10k1_mpuout), GFP_KERNEL))

 

 

Why is the struct type referenced for the allocation size? Why not,

 

 

if ((card->mpuout = kmalloc(sizeof(card->mpuout), GFP_KERNEL))

 

 

This seems to get the size for the actual object being allocated.

 

 

[cardmi.c, line 42]

 

 

static struct {

int (*Fn) (struct emu10k1_mpuin *, u8);

} midistatefn[] = {

...

 

 

My question to Astral Projection:

 

Why aren't all the gobs of constant data in this driver declared as

constant? Do it give a performance advantage by having the data in a

different MMU section and better cache effects or something?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...