0
0

Hello.
I’m trying to perform surround MP3 playback on an older Yamaha DS-XG 740 card under OSS/linux.
As it has no hardware surround settings I’ve tried to use fmod library to get something working. Dunno if I’m right.
I’m doing something like:

    if ((channel = FSOUND_Stream_PlayEx(FSOUND_FREE, stream, NULL, TRUE)) == -1)
    {
            printf("Error!n");
            printf("%sn", FMOD_ErrorString(FSOUND_GetError()));
            FSOUND_Close();
            return 1;
    }

    //        FSOUND_3D_SetAttributes(channel, pos, vel);
    FSOUND_SetSpeakerMode(FSOUND_SPEAKERMODE_STEREO);
    FSOUND_SetSurround(channel, TRUE);
    if( FSOUND_GetSurround(channel)==TRUE ) { printf ("nnSurround enabled!nn"); }


FSOUND_SetPaused(channel, FALSE);

and during playback, I use:
if (key == ‘s’)
{
if(FSOUND_GetSurround(channel) == TRUE) { printf(“Surround was enabled, disablingn”); }
else { printf(“Surround was disabled, enablingn”); }
FSOUND_SetSurround(channel,!(FSOUND_GetSurround(channel)));
}

(I’ve modified stream example a bit).
I get no audible effects.
In case I need to buy a proper soundcard for this, which one will it be ?
Thank you !

  • You must to post comments
0
0

Actually I’m processing the output via a Dolby Prologic sound system. The problem is I get no audible sound effect even if I turn the prologic processing on or off.Unfortunately I still get nothing. I will move to a SBLIVE soundcard to get the real stuff…

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.