Smpeg + sdl

I have a problem with playing audio with SMPEG. I can load one mp3 fine
with the SMPEG_new command, and it plays fine. But, if I load more than 1
SMPEG type media, when I play any of them, the sounds comes out very choppy.
Does anyone know why, or how to fix it?________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

I have a problem with playing audio with SMPEG. I can load one mp3 fine
with the SMPEG_new command, and it plays fine. But, if I load more than 1
SMPEG type media, when I play any of them, the sounds comes out very choppy.
Does anyone know why, or how to fix it?

Interesting, I don’t think that’s ever been done before. :slight_smile:
Try loading them one at a time.

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

I have a problem with playing audio with SMPEG. I can load one mp3 fine
with the SMPEG_new command, and it plays fine. But, if I load more than 1
SMPEG type media, when I play any of them, the sounds comes out very choppy.
Does anyone know why, or how to fix it?

Try loading them one at a time.
how do you do that? i even couldn’t load second mp3, all application start BIG_WAITING

maerx> ----- Original Message -----

From: slouken@devolution.com (Sam Lantinga)
Reply-To: sdl at lokigames.com
Date: Thu, 13 Jul 2000 23:42:10 -0700

I have a problem with playing audio with SMPEG. I can load one mp3 fine
with the SMPEG_new command, and it plays fine. But, if I load more than 1
SMPEG type media, when I play any of them, the sounds comes out very choppy.
Does anyone know why, or how to fix it?

Interesting, I don’t think that’s ever been done before. :slight_smile:
Try loading them one at a time.

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Try loading them one at a time.
how do you do that? i even couldn’t load second mp3, all application start BIG_WAITING

I mean loading and playing one at a time. :slight_smile:

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Well, I sent a reply to the list, but i dont think that it went through due
to the size of the attachment. I have the SMPEG’s as members of a
structure, and then have a class that has a dynamic array of this structure
in it’s private member data. It loads fine, but wont play right. You can
get the source from…
http://www.animerave.com/uriah.tar.gz
type ‘make’ to compile
’runme music’ to run it with 2 songs loaded
’runme music2’ to run it with 1 song loaded>From: “Mareks Rampans”

Reply-To: sdl at lokigames.com
To:
Subject: Re: [SDL] SMPEG + SDL
Date: Fri, 14 Jul 2000 11:41:01 +0200

I have a problem with playing audio with SMPEG. I can load one mp3
fine

with the SMPEG_new command, and it plays fine. But, if I load more
than 1

SMPEG type media, when I play any of them, the sounds comes out very
choppy.

Does anyone know why, or how to fix it?

Try loading them one at a time.
how do you do that? i even couldn’t load second mp3, all application start
BIG_WAITING

maerx

---------- Original Message ------------------------
From: Sam Lantinga
Reply-To: sdl at lokigames.com
Date: Thu, 13 Jul 2000 23:42:10 -0700

I have a problem with playing audio with SMPEG. I can load one mp3 fine
with the SMPEG_new command, and it plays fine. But, if I load more than
1
SMPEG type media, when I play any of them, the sounds comes out very
choppy.
Does anyone know why, or how to fix it?

Interesting, I don’t think that’s ever been done before. :slight_smile:
Try loading them one at a time.

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com