gap-dev-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gap-dev-discuss] Cynthiune on NetBSD


From: Riccardo Mottola
Subject: [Gap-dev-discuss] Cynthiune on NetBSD
Date: Tue, 01 May 2012 21:13:43 +0200
User-agent: Mozilla/5.0 (X11; NetBSD i386; rv:11.0) Gecko/20120409 Thunderbird/11.0

Hi,

Cynthiune working again on linux gave me a moral boost :)

I'm building on NetBSD current, that is what I have available, I will check everything on a NetBSD stable box however, to be sure we don't use any too top-notch feature.

While compiling on NetBSD, I get the following problem with OSS:

Making all for bundle OSS...
 Compiling file OSS.m ...
OSS.m: In function '-[OSS _setRateAndChannels]':
OSS.m:111:37: error: macro "ioctl" requires 3 arguments, but only 2 given
OSS.m:111:39: warning: comparison between pointer and integer
gmake[4]: *** [obj/OSS.obj/OSS.m.o] Error 1

I found by googling that some people write the ioctl this way:
ioctl (dspFd, SNDCTL_DSP_RESET, 0)

I wonder if this is correct & portable.

then, the audiofile bundle gives me a similar error than on linux:

/Local/Library/Bundles/Cynthiune/AudioFile.format/./AudioFile: Undefined PLT symbol "afSetErrorHandler" (symnum = 17)

By using the pkg-config patch, i get further, everything compiles, but at the end, I can't play enything.
I get these errors when playing a stereo MP3 or a mono WAV:

2012-05-01 21:12:17.382 Cynthiune[6940] error preparing output for 2 channels at a rate of 44100 2012-05-01 21:12:20.740 Cynthiune[6940] error preparing output for 2 channels at a rate of 44100

Clues?

Riccardo


Riccardo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]