Hi Tim yeah, i think such an option would be helpful.
be aware that FreeBSD offers ALSA headers and the ALSA libraries, you
just cannot use any function which wants to talk with the kernel part
(i.e., almost every function ;) )
But we can compile it, and if libALSA offers some helper functions, i
guess we can use them.
MIDI access in OSS seems to be very straightforward: you get a devnode
where raw midi comes out, or you write raw midi in (i haven't verified
that, just a result of quick googling).
Currently, i have roughly done this:
- comment out the whole rtctimer file, because there is no #include
<linux/rtc.h>.
- replace all #include "event.h" by "../event.h"
- add an exp10 macro
- manually fix the CMake-generated files so that it links
against libs in /usr/local/lib, and does not use -ldl
so, i got MusE compiling, but it won't start because of errors like
"can't init the midi alsa subsystem!"
greetings
flo
Am 12.12.2012 09:53, schrieb Tim E. Real:
> On December 12, 2012 02:14:32 AM Florian Jung wrote:
>> Hi folks :)
>> (yea i'm still alive :) )
>>
>> i'm currently trying to get muse working on my freeBSD machine,
>>
>> could you please fix the following things?
>> - search for includes and libs also in /usr/local/{include,lib} (gentoo
>> users might be affected by this as well
>> - don't link with -ldl on freebsd, it's included in the libc there
>> - for some reason, #include "event.h" includes the wrong event.h in
>> freeBSD; i have to replace it by #include "../event.h"; any ideas for
>> that one?
>> - please add some globally accessible macro which tells me whether i'm
>> compiling on linux, freebsd, fooBSD, or anything else
>>
>>
>> and please explain me in detail, how audio and ALSA stuff is working.
>> i want to write a new timer (both RTC timer and alsa timer don't work
>> under freebsd), and a OSS midi subsystem (i don't think i'll bother with
>> OSS audio, as we have jack.), and i need information about how to do this :)
>>
>>
>> when you fix the above mentioned things, muse will at least compile
>> (currently, i edited cmakecaches by hand), but not start because there's
>> no timer available. (and probably fail beyond that because no midi
>> driver is available)
>>
>> please help me out =)
>>
>> greetings
>> flo
>
> Hey Ho Flo! Welcome back.
>
> About to shut down here, will answer some more later, but let me say
> how far have you gotten roughly?
> What I mean, is the very first thing I can (must) do is add a cmake option
> ENABLE_ALSA which will lead to an app ALSA_SUPPORT define.
>
> I know a few places (and more) that need it but foolishly never got around to
> adding an option ALSA_SUPPORT define, so they're just #if 0 and such for now.
>
>>From there, having the ALSA_SUPPORT define, we can really motor on...
> I'll do what I can to start changing the code where I know it needs to be done
> but can't promise anything right away - kinda up to my neck in stuff.
>
> I'll point out the areas I speak of tomorrow.
>
> Tim.
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> Lmuse-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lmuse-developer
>
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________ Lmuse-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lmuse-developer
