overdue-scratch

Author Topic: VoodooHDA PrefPane - Source  (Read 35696 times)

0 Members and 1 Guest are viewing this topic.

fassl

  • VoodooLabs
  • Posts: 29
VoodooHDA PrefPane - Source
« on: August 22, 2009, 06:29:43 PM »
I got several mails from people asking for the source code of this, and I gave it to them, no problem. (The reason why prefpane source is not in the GoogleCode svn, is that it whyever didnt let me upload new files).

But that are not the only emails i got depending VoodooHDA. Just today i received an email from some guy who was bitching around that VoodooHDA team isnt worth anything and useless since there is no update since April.

First, there never was or is a VoodooHDA team.
Kaitek/cinorch started this project and was actually quite finished but nobody had the sources, just him.
For some reason he wasnt available to all of us for several months, thats where i started VoodooHDA from scratch, just as i got it to make some sound, cinorch released his source on GoogleCode.
Since his version took a different way of registering outputs it lacked of some features like mute or output pan, which i had working in mine so i was able to adopt it fastly to his kext.
We wrote several mails how we are going to proceed and what can be done better.
Thats the only time there really was sort of a VoodooHDA "team".

Second: The developers offer _their_ time to bring _you_ things like a HDA kernel extension. They dont get any money out of it, thats the first thing you should keep in mind when you are about to bitch at the developers.
If the product doesnt work well for your machine, post about it in a friendly way, be patient and hope it gets fixed.
If not, fix it yourself (Open Source), post a patch if you want, and you are set.
But there is no need at all to insult the developers about their products, you should be happy that the developers try to extend _your_ and their osx experience.
Not to mention the hours/days that just had been spent on reading specifications and documents to have a base to start from.
For me it seems some guys in this scene (which seems to turn more and more into a joke in my opinion) just dont understand that, or they are just always about to fight wherever possible. (Thats easy when one can hide behind a PC right?)

Third: This all should be a hobby, something to mess with, something to have fun with. It's not the whole part of the developers life, nor of yours. We all have other, mostly more important stuff to mess with.

So i would highly appreciate all of you who have nothing better to do than insult developers, to try to understand this and rethink if the way they are acting is of any good to the "community" nor if it is necessary.

greets, fassl

« Last Edit: August 22, 2009, 07:56:21 PM by fassl »

sweec

  • Entrant
  • Posts: 5
Re: VoodooHDA PrefPane - Source
« Reply #1 on: August 24, 2009, 08:48:17 PM »
Thanks a lot for this. Some guys asked me to compile this for 64 bit snowleopard since they have no way to adjust sound volume in system's sound preference.
Compiled Snow Leopard (32/64) version is attached here for your convenience.
« Last Edit: August 24, 2009, 10:51:30 PM by sweec »

shoarthing

  • Entrant
  • Posts: 4
Re: VoodooHDA PrefPane - Source
« Reply #2 on: August 26, 2009, 09:02:43 AM »
fassl - Hi - sorry you've been rudely hassled over your voluntary & mostly unaided work on this project.

If it is any consolation, I can tell you that many folk are really grateful & genuinely appreciative.

 . . . .  credit & applause  :D  ;)  :D

kingyond

  • Entrant
  • Posts: 2
Re: VoodooHDA PrefPane - Source
« Reply #3 on: August 26, 2009, 10:20:57 PM »
thanks to fassl for all hard work for us.


fassl

  • VoodooLabs
  • Posts: 29
Re: VoodooHDA PrefPane - Source
« Reply #4 on: August 27, 2009, 12:41:16 AM »
Thanks guys, but please do not forget kaitek ;)

youminbuluo

  • Entrant
  • Posts: 6
Re: VoodooHDA PrefPane - Source
« Reply #5 on: August 30, 2009, 06:54:30 AM »
fassl - Hi - sorry you've been rudely hassled over your voluntary & mostly unaided work on this project.

If it is any consolation, I can tell you that many folk are really grateful & genuinely appreciative.

 . . . .  credit & applause  :D  ;)  :D



thanks

Madghost

  • Entrant
  • Posts: 1
Re: VoodooHDA PrefPane - Source
« Reply #6 on: August 31, 2009, 03:43:30 PM »
hello,

I have a little icon for VoodooHDA prefpane.
It come from your logo and an icon from the crystal project by Everaldo released under GPL

so here is the prefpane and the PNG.

I don't know if it's possible/allowed and i don't know if you like it but i thought this great project must have an icon
Maybe another user can make his own and give it as a contribution, it would be better than this.

Thanks a lot for releasing such great piece of code to all the team

ole2

  • Entrant
  • Posts: 3
Re: VoodooHDA PrefPane - Source
« Reply #7 on: October 27, 2009, 11:30:04 AM »
I got several mails from people asking for the source code of this, and I gave it to them, no problem.


hello Fassl
I've tried to sync google code for voodoohda from here http://code.google.com/p/voodoohda/
but it appeared to be empty (having no source files at all).
could you comment this issue? are there any plans to upload source code into? what is other way to get source and start helping by working on it too?
thanks
Ole2

mingo1976

  • Entrant
  • Posts: 1
Re: VoodooHDA PrefPane - Source
« Reply #8 on: June 04, 2010, 10:25:13 PM »
Thanks a lot for this. Some guys asked me to compile this for 64 bit snowleopard since they have no way to adjust sound volume in system's sound preference.
Compiled Snow Leopard (32/64) version is attached here for your convenience.

tkz very very much ... you saved me

r007

  • Observer
  • Posts: 21
Re: VoodooHDA PrefPane - Source
« Reply #9 on: July 22, 2010, 07:06:27 PM »
I think there is a bug (or maybe several) in voodoohdahelper.c, in the function readSettings (line 150 onwards)

Code: [Select]
--- voodoohdahelper.c 2009-04-19 13:04:57.000000000 +0200
+++ voodoohdahelper_patched.c 2010-07-22 18:54:44.000000000 +0200
@@ -152,8 +152,8 @@
  ChannelInfo *info = 0;
  const char *ppath = "/Library/Preferences/VoodooHDA.settings";
  const char *home = getenv("HOME");
- char *path = (char*)malloc(strlen(home)+strlen(ppath));
- strncpy(path, home, strlen(home));
+ char *path = (char*)malloc((strlen(home)+strlen(ppath)+1)*sizeof(char));
+ strncpy(path, home, strlen(home)+1);
  strncat(path, ppath, strlen(ppath));
 
  printf("settings file path: %s\n", path);

path should be one character longer (to make room for the terminating NULL), and also should the NULL from home be copied over to path, so that strncat can find the proper end of path. strlen is just the numebr of characters, excluding the terminating NULL.

I was getting weird pathnames (either $HOME was missing the last character, or there was garbage between home and ppath), and this seems to have fixed it. The sizeof(char) may be redundant, but can't hurt if Apple ever chooses to make two-byte wide characters. :-/

jim5055

  • Entrant
  • Posts: 1
Re: VoodooHDA PrefPane - Source
« Reply #10 on: August 01, 2010, 02:32:02 AM »
Hey good work r007, I was just going to find and play with the source to see if I could fix this and I saw this post. I found I could get the app to parse the correct location if I moved the app from the user space/Applications (I think to /Applications from memory) but even though the path to the settings file was parsed ok doing this, I was still getting file not found errors with result settings not restored.