[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] sound crackling and fmod



Hi Greg.

----- Original Message ----
From: Greg Ewing <greg.ewing@xxxxxxxxxxxxxxxx>
To: pygame-users@xxxxxxxx
Sent: Monday, 30 April, 2007 10:48:40 AM
Subject: Re: [pygame] sound crackling and fmod

Andrew Pape wrote:
> I did some web searching, and someone said that
> he's heard pySonic will work under Linux, but that you have to use
> PyRex, and follow special build instructions.

Re Fmod:

First of all, here's the link to where I found the info: http://blenderartists.org/forum/showthread.php?t=78597

>You shouldn't need to use Pyrex yourself if the
>distributed source includes the generated .c files.

The distributed source didn't contain any c files, so I had to use Pyrex.

>> my call to gcc failed

>What errors do you get?

First, I used gcc as shown on the following page:http://ldots.org/pyrex-guide/2-compiling.html#gcc
Specifically, I typed:  gcc -c -fPIC -I/usr/include/python2.5/ pySonic.c
That generated the c file, and a header file (support.h)

Regarding the error message from gcc:

First try, yesterday, I got hundreds of error messages, but I've now reduced the number somewhat.

I then realised (guessed) that the header "support.h" file needed to be #included in pySonic.c. I'm far from an expert on make files and linking, but the file inclusion reduced the number of errors a lot. The support file itself requires more headers, namely "stdio.h", "Python.h", and "fmod.h".

I grabbed stdio.h from /usr/include and fmod.h from the fmod package that I'd already downloaded. Getting Python.h was more difficult; I had to download the whole Python source itself to get that header. But then that header required just about every other Python header from the download. I ended up extracting all Python's headers and dumping them all in the one directory. What a mess. I hate linking and I'm really stuck here.

The latest error message log I got is here:

med ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_6Direct___set__ʼ:
pySonic.c:4169: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_8DirectHF___get__ʼ:
pySonic.c:4189: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_8DirectHF___set__ʼ:
pySonic.c:4214: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_4Room___get__ʼ:
pySonic.c:4234: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_4Room___set__ʼ:
pySonic.c:4259: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_6RoomHF___get__ʼ:
pySonic.c:4279: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_6RoomHF___set__ʼ:
pySonic.c:4304: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_11Obstruction___get__ʼ:
pySonic.c:4324: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_11Obstruction___set__ʼ:
pySonic.c:4349: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_18ObstructionLFRatio___get__ʼ:
pySonic.c:4369: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_18ObstructionLFRatio___set__ʼ:
pySonic.c:4394: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_9Occlusion___get__ʼ:
pySonic.c:4414: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_9Occlusion___set__ʼ:
pySonic.c:4439: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_16OcclusionLFRatio___get__ʼ:
pySonic.c:4459: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_16OcclusionLFRatio___set__ʼ:
pySonic.c:4484: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_18OcclusionRoomRatio___get__ʼ:
pySonic.c:4504: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_18OcclusionRoomRatio___set__ʼ:
pySonic.c:4529: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_20OcclusionDirectRatio___get__ʼ:
pySonic.c:4549: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_20OcclusionDirectRatio___set__ʼ:
pySonic.c:4574: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_9Exclusion___get__ʼ:
pySonic.c:4594: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_9Exclusion___set__ʼ:
pySonic.c:4619: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_16ExclusionLFRatio___get__ʼ:
pySonic.c:4639: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_16ExclusionLFRatio___set__ʼ:
pySonic.c:4664: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_15OutsideVolumeHF___get__ʼ:
pySonic.c:4684: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_15OutsideVolumeHF___set__ʼ:
pySonic.c:4709: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_13DopplerFactor___get__ʼ:
pySonic.c:4729: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_13DopplerFactor___set__ʼ:
pySonic.c:4754: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_13RolloffFactor___get__ʼ:
pySonic.c:4774: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_13RolloffFactor___set__ʼ:
pySonic.c:4799: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_17RoomRolloffFactor___get__ʼ:
pySonic.c:4819: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_17RoomRolloffFactor___set__ʼ:
pySonic.c:4844: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_19AirAbsorptionFactor___get__ʼ:
pySonic.c:4864: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_19AirAbsorptionFactor___set__ʼ:
pySonic.c:4889: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_5Flags___get__ʼ:
pySonic.c:4909: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_12SourceReverb_5Flags___set__ʼ:
pySonic.c:4934: error: ʽstruct __pyx_obj_7pySonic_SourceReverbʼ has no member named ʽpropsʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_6Sample___dealloc__ʼ:
pySonic.c:6149: error: expected _expression_ before ʽ)ʼ token
pySonic.c:6149: error: called object ʽFSOUND_SAMPLE(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Sample_InitPlayʼ:
pySonic.c:6238: error: expected _expression_ before ʽ)ʼ token
pySonic.c:6238: error: called object ʽFSOUND_SAMPLE(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Sample_9Frequency___get__ʼ:
pySonic.c:6285: error: expected _expression_ before ʽ)ʼ token
pySonic.c:6285: error: called object ʽFSOUND_SAMPLE(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Sample_8Channels___get__ʼ:
pySonic.c:6319: error: expected _expression_ before ʽ)ʼ token
pySonic.c:6319: error: called object ʽFSOUND_SAMPLE(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Sample_10SampleSize___get__ʼ:
pySonic.c:6402: error: expected _expression_ before ʽ)ʼ token
pySonic.c:6402: error: called object ʽFSOUND_SAMPLE(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Sample_GetBytesʼ:
pySonic.c:6493: error: expected _expression_ before ʽ)ʼ token
pySonic.c:6493: error: called object ʽFSOUND_SAMPLE(<erroneous-_expression_>)ʼ is not a function
pySonic.c:6538: error: expected _expression_ before ʽ)ʼ token
pySonic.c:6538: error: called object ʽFSOUND_SAMPLE(<erroneous-_expression_>)ʼ is not a function
pySonic.c:6557: error: expected _expression_ before ʽ)ʼ token
pySonic.c:6557: error: called object ʽFSOUND_SAMPLE(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Sample_6Volume___get__ʼ:
pySonic.c:6613: error: expected _expression_ before ʽ)ʼ token
pySonic.c:6613: error: called object ʽFSOUND_SAMPLE(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Sample_8Priority___get__ʼ:
pySonic.c:6640: error: expected _expression_ before ʽ)ʼ token
pySonic.c:6640: error: called object ʽFSOUND_SAMPLE(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Sample_8LoopMode___get__ʼ:
pySonic.c:6670: error: expected _expression_ before ʽ)ʼ token
pySonic.c:6670: error: called object ʽFSOUND_SAMPLE(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Sample_10NumSamples___get__ʼ:
pySonic.c:6744: error: expected _expression_ before ʽ)ʼ token
pySonic.c:6744: error: called object ʽFSOUND_SAMPLE(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_12MemorySample___new__ʼ:
pySonic.c:6855: warning: passing argument 2 of ʽPyObject_AsReadBufferʼ from incompatible pointer type
pySonic.c:6992: error: expected _expression_ before ʽ)ʼ token
pySonic.c:6992: error: called object ʽFSOUND_SAMPLE(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Stream___init__ʼ:
pySonic.c:7350: error: ʽ__pyx_v_ptʼ undeclared (first use in this function)
pySonic.c:7350: error: (Each undeclared identifier is reported only once
pySonic.c:7350: error: for each function it appears in.)
pySonic.c:7395: error: expected _expression_ before ʽ)ʼ token
pySonic.c:7395: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c:7406: error: expected _expression_ before ʽ)ʼ token
pySonic.c:7406: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c:7406: warning: assignment makes pointer from integer without a cast
pySonic.c: In function ʽ__pyx_f_7pySonic_6Stream___dealloc__ʼ:
pySonic.c:7457: error: expected _expression_ before ʽ)ʼ token
pySonic.c:7457: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Stream_RegisterCallbacksʼ:
pySonic.c:7565: error: expected _expression_ before ʽ)ʼ token
pySonic.c:7565: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c:7565: error: ʽCEndStreamCallbackʼ undeclared (first use in this function)
pySonic.c:7582: error: expected _expression_ before ʽ)ʼ token
pySonic.c:7582: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c:7582: error: ʽCSyncStreamCallbackʼ undeclared (first use in this function)
pySonic.c: In function ʽ__pyx_f_7pySonic_6Stream_UnregisterCallbacksʼ:
pySonic.c:7620: error: expected _expression_ before ʽ)ʼ token
pySonic.c:7620: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c:7623: error: expected _expression_ before ʽ)ʼ token
pySonic.c:7623: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Stream_InitPlayʼ:
pySonic.c:7655: error: expected _expression_ before ʽ)ʼ token
pySonic.c:7655: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Stream_Stopʼ:
pySonic.c:7706: error: expected _expression_ before ʽ)ʼ token
pySonic.c:7706: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Stream_AddSyncPointʼ:
pySonic.c:7740: error: ʽ__pyx_v_ptʼ undeclared (first use in this function)
pySonic.c:7760: error: expected _expression_ before ʽ)ʼ token
pySonic.c:7760: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Stream_RemoveSyncPointʼ:
pySonic.c:7822: error: expected _expression_ before ʽ)ʼ token
pySonic.c: In function ʽ__pyx_f_7pySonic_6Stream_12SampleHandle___get__ʼ:
pySonic.c:7857: error: ʽ__pyx_v_hʼ undeclared (first use in this function)
pySonic.c:7863: error: expected _expression_ before ʽ)ʼ token
pySonic.c:7863: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Stream_9Frequency___get__ʼ:
pySonic.c:7885: error: ʽ__pyx_v_hʼ undeclared (first use in this function)
pySonic.c:7891: error: expected _expression_ before ʽ)ʼ token
pySonic.c:7891: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Stream_6Volume___get__ʼ:
pySonic.c:7916: error: ʽ__pyx_v_hʼ undeclared (first use in this function)
pySonic.c:7922: error: expected _expression_ before ʽ)ʼ token
pySonic.c:7922: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Stream_8Priority___get__ʼ:
pySonic.c:7947: error: ʽ__pyx_v_hʼ undeclared (first use in this function)
pySonic.c:7953: error: expected _expression_ before ʽ)ʼ token
pySonic.c:7953: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Stream_14SampleLoopMode___get__ʼ:
pySonic.c:7977: error: ʽ__pyx_v_hʼ undeclared (first use in this function)
pySonic.c:7987: error: expected _expression_ before ʽ)ʼ token
pySonic.c:7987: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Stream_8LoopMode___get__ʼ:
pySonic.c:8068: error: expected _expression_ before ʽ)ʼ token
pySonic.c:8068: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Stream_8LoopMode___set__ʼ:
pySonic.c:8148: error: expected _expression_ before ʽ)ʼ token
pySonic.c:8148: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Stream_8Duration___get__ʼ:
pySonic.c:8228: error: expected _expression_ before ʽ)ʼ token
pySonic.c:8228: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Stream_13NumSyncPoints___get__ʼ:
pySonic.c:8251: error: expected _expression_ before ʽ)ʼ token
pySonic.c:8251: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Stream_13CurrentSample___get__ʼ:
pySonic.c:8279: error: expected _expression_ before ʽ)ʼ token
pySonic.c:8279: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c:8282: error: expected _expression_ before ʽ)ʼ token
pySonic.c:8282: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Stream_13CurrentSample___set__ʼ:
pySonic.c:8335: error: expected _expression_ before ʽ)ʼ token
pySonic.c:8335: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c:8358: error: expected _expression_ before ʽ)ʼ token
pySonic.c:8358: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Stream_11CurrentTime___get__ʼ:
pySonic.c:8397: error: expected _expression_ before ʽ)ʼ token
pySonic.c:8397: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_6Stream_11CurrentTime___set__ʼ:
pySonic.c:8426: error: expected _expression_ before ʽ)ʼ token
pySonic.c:8426: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_12MemoryStream___new__ʼ:
pySonic.c:8772: warning: passing argument 2 of ʽPyObject_AsReadBufferʼ from incompatible pointer type
pySonic.c: In function ʽ__pyx_f_7pySonic_9WebStream_RegisterCallbacksʼ:
pySonic.c:9189: error: expected _expression_ before ʽ)ʼ token
pySonic.c:9189: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c:9189: error: ʽCMetadataStreamCallbackʼ undeclared (first use in this function)
pySonic.c: In function ʽ__pyx_f_7pySonic_9WebStream_UnregisterCallbacksʼ:
pySonic.c:9242: error: expected _expression_ before ʽ)ʼ token
pySonic.c:9242: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_9WebStream_6Status___get__ʼ:
pySonic.c:9273: error: expected _expression_ before ʽ)ʼ token
pySonic.c:9273: error: called object ʽFSOUND_STREAM(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_8Recorder_ListDriversʼ:
pySonic.c:11038: warning: assignment makes pointer from integer without a cast
pySonic.c: In function ʽ__pyx_f_7pySonic_8Recorder_Startʼ:
pySonic.c:11102: error: expected _expression_ before ʽ)ʼ token
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song___new__ʼ:
pySonic.c:12906: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c:12909: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c:12926: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c:12944: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽcallbacksʼ
pySonic.c:12944: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽcallbacksʼ
pySonic.c:12944: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽcallbacksʼ
pySonic.c:12945: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽcallbacksʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song___dealloc__ʼ:
pySonic.c:12971: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_IsPausedʼ:
pySonic.c:12989: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_IsPlayingʼ:
pySonic.c:13014: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_IsFinishedʼ:
pySonic.c:13039: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_Playʼ:
pySonic.c:13081: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c:13087: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_Pauseʼ:
pySonic.c:13134: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_Stopʼ:
pySonic.c:13175: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_GetInstrumentCallbackʼ:
pySonic.c:13218: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽcallbacksʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_SetInstrumentCallbackʼ:
pySonic.c:13263: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽcallbacksʼ
pySonic.c:13280: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c:13280: error: ʽCInstModuleCallbackʼ undeclared (first use in this function)
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_GetOrderCallbackʼ:
pySonic.c:13330: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽcallbacksʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_SetOrderCallbackʼ:
pySonic.c:13372: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽcallbacksʼ
pySonic.c:13376: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c:13376: error: ʽCOrderModuleCallbackʼ undeclared (first use in this function)
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_GetRowCallbackʼ:
pySonic.c:13421: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽcallbacksʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_SetRowCallbackʼ:
pySonic.c:13463: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽcallbacksʼ
pySonic.c:13467: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c:13467: error: ʽCRowModuleCallbackʼ undeclared (first use in this function)
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_GetZxxCallbackʼ:
pySonic.c:13512: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽcallbacksʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_SetZxxCallbackʼ:
pySonic.c:13551: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽcallbacksʼ
pySonic.c:13554: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c:13554: error: ʽCZxxModuleCallbackʼ undeclared (first use in this function)
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_7Looping___set__ʼ:
pySonic.c:13597: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_9UserSpeed___set__ʼ:
pySonic.c:13640: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_6Volume___set__ʼ:
pySonic.c:13683: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_6Volume___get__ʼ:
pySonic.c:13725: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_5Order___set__ʼ:
pySonic.c:13782: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_5Order___get__ʼ:
pySonic.c:13824: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_13PanSeparation___set__ʼ:
pySonic.c:13881: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_3BPM___get__ʼ:
pySonic.c:13966: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_11CurrentTime___get__ʼ:
pySonic.c:14022: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_4Name___get__ʼ:
pySonic.c:14082: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c:14082: warning: passing argument 1 of ʽPyString_FromStringʼ makes pointer from integer without a cast
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_11NumChannels___get__ʼ:
pySonic.c:14136: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_14NumInstruments___get__ʼ:
pySonic.c:14189: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_9NumOrders___get__ʼ:
pySonic.c:14223: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_11NumPatterns___get__ʼ:
pySonic.c:14279: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_10NumSamples___get__ʼ:
pySonic.c:14335: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_7Pattern___get__ʼ:
pySonic.c:14391: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_3Row___get__ʼ:
pySonic.c:14447: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_4Song_5Speed___get__ʼ:
pySonic.c:14503: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽhandleʼ
pySonic.c: In function ʽ__pyx_f_7pySonic_7DSPUnit_6Active___get__ʼ:
pySonic.c:14587: error: expected _expression_ before ʽ)ʼ token
pySonic.c:14587: error: called object ʽFSOUND_DSPUNIT(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_7DSPUnit_6Active___set__ʼ:
pySonic.c:14612: error: expected _expression_ before ʽ)ʼ token
pySonic.c:14612: error: called object ʽFSOUND_DSPUNIT(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_7DSPUnit_8Priority___get__ʼ:
pySonic.c:14637: error: expected _expression_ before ʽ)ʼ token
pySonic.c:14637: error: called object ʽFSOUND_DSPUNIT(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_7DSPUnit_8Priority___set__ʼ:
pySonic.c:14690: error: expected _expression_ before ʽ)ʼ token
pySonic.c:14690: error: called object ʽFSOUND_DSPUNIT(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_f_7pySonic_16FFTSystemDSPUnit_8Spectrum___get__ʼ:
pySonic.c:14749: warning: assignment makes pointer from integer without a cast
pySonic.c: In function ʽ__pyx_f_7pySonic_11UserDSPUnit___new__ʼ:
pySonic.c:14789: error: ʽCDSPUnitCallbackʼ undeclared (first use in this function)
pySonic.c: In function ʽ__pyx_f_7pySonic_11UserDSPUnit___dealloc__ʼ:
pySonic.c:14824: error: expected _expression_ before ʽ)ʼ token
pySonic.c:14824: error: called object ʽFSOUND_DSPUNIT(<erroneous-_expression_>)ʼ is not a function
pySonic.c: In function ʽ__pyx_tp_new_7pySonic_Songʼ:
pySonic.c:19571: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽcallbacksʼ
pySonic.c: In function ʽ__pyx_tp_dealloc_7pySonic_Songʼ:
pySonic.c:19589: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽcallbacksʼ
pySonic.c:19589: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽcallbacksʼ
pySonic.c:19589: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽcallbacksʼ
pySonic.c:19589: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽcallbacksʼ
pySonic.c: In function ʽ__pyx_tp_traverse_7pySonic_Songʼ:
pySonic.c:19596: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽcallbacksʼ
pySonic.c:19597: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽcallbacksʼ
pySonic.c: In function ʽ__pyx_tp_clear_7pySonic_Songʼ:
pySonic.c:19604: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽcallbacksʼ
pySonic.c:19604: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽcallbacksʼ
pySonic.c:19604: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽcallbacksʼ
pySonic.c:19604: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽcallbacksʼ
pySonic.c:19605: error: ʽstruct __pyx_obj_7pySonic_Songʼ has no member named ʽcallbacksʼ
pySonic.c: In function ʽinitpySonicʼ:
pySonic.c:21114: warning: this decimal constant is unsigned only in ISO C90

It sounds like only a few similar errors, just repeated.

But I'm out of my depth, and would just love a copy of the shared object file rather than having to make one myself!

As far as I'm concerned, fmod is the way to go for music and sound effect mixing. I've used it before with both c++ (in a Windows DirectX game), and with java (under both Windows and Linux). If you or anyone else can help with getting PySonic working under Linux, it'd be great for the linux pygaming community, including me!

Any help would be greatly appreciated.

Cheers,

Andrew.

Send instant messages to your online friends http://au.messenger.yahoo.com