Hi,
Do you know why i have the following error :
I;\Ripple\ARM\Core\Emul68K\SrcSlowEmu\Run68K.c,
Line:3109, Invalid read from CDA8.
using this callback function for my stream :
Err sndCallback(void* UserDataP, SndStreamRef stream, void* bufferP, UInt32
frameCount) {
Ct *data = (Ct
, 2003 9:50 AM
Subject: Big Sound Stream problem
Hi,
Do you know why i have the following error :
I;\Ripple\ARM\Core\Emul68K\SrcSlowEmu\Run68K.c,
Line:3109, Invalid read from CDA8.
using this callback function for my stream :
Err sndCallback(void* UserDataP, SndStreamRef stream, void
This is just an example. But every thing works fine if i use + instead of *
IMHO, it sounds like that UserDapaP ( and then data ) pointing to some
invalid address.
Have you checked value of data before running that calculation line ?
Hi,
Do you know why i have the following error :
This is just an example. But every thing works fine if i use + instead of
*
I have the same result with :
Err sndCallback(void* UserDataP, SndStreamRef stream, void* bufferP, UInt32
frameCount) {
int a = 5;
int b = 8;
int l = a * b;
return errNone;
}
IMHO, it sounds like that
This is just an example. But every thing works fine if i use + instead of
*
Just a guess. Some compilers use support routines to implement
multiplications. If your callback and this support routine are not located
in the same segment, the generated code will have an implicit reference to
the
This is just an example. But every thing works fine if i use +
instead of *
I have the same result with :
Err
sndCallback(void* UserDataP, SndStreamRef stream,
void* bufferP, UInt32 frameCount)
{
int a = 5;
int b = 8;
int l = a * b;
return errNone;
}
This it it !!! thanks a lot
This is just an example. But every thing works fine if i use + instead
of
*
Just a guess. Some compilers use support routines to implement
multiplications. If your callback and this support routine are not located
in the same segment, the generated code will