Pages: [1]
|
|
|
Author
|
Topic: Sound problem (Read 2356 times)
|
|
PhracturedBlue
Frungy champion
Offline
Posts: 88
Me developer. Here me roar!
|
We have just committed a new Sound System to CVS If your problem involves incompatibility with OpenAL (which is the most likely cause), this new fix will likely help. Unfortunately, if you don't want to go through the hassle of building CVS (using mingw or VC), you'll need to wait for a new development snapshot.
(By the way, the new code, dubbed 'mixsdl' by its creator fOSSiL, should remove most of the instability that linux users have been experiencing too, plus it enables the oscilloscope and slider, things which those using the od SDL_mixer could not use. So if you are on linux, and are willin to build from source, pick up the latest CVS version, and go to town.) Unfortunately, with all the changes over the weekend, the code needs some more testing to make sure it is stable before I make a new snapshot availiable. Others may be more willing, tho.
I promise it is coming....Or maybe even a 0.2 release in the near future
|
|
|
Logged
|
|
|
|
TrevorB
Zebranky food
Offline
Posts: 14
I love YaBB 1G - SP1!
|
(By the way, the new code, dubbed 'mixsdl' by its creator fOSSiL, should remove most of the instability that linux users have been experiencing too, plus it enables the oscilloscope and slider, things which those using the od SDL_mixer could not use. So if you are on linux, and are willin to build from source, pick up the latest CVS version, and go to town.)
Speaking of mixsdl...
Can anyone get MixSDL to compile on Linux? Am I missing a MixSDL driver or something? All is cool and nifty on Linux for regular SDL (Slackware Linux 2xPII 400) on my box, but when I try to compile for MixSDL, It goes right up to the final compile command (gcc -o uqm ...) and then pukes horribly with the following.
It's been like this for me since MixSDL came out. Yes, I have been updating and running build.sh uqm clean when things break. (I know I had to run UQM clean once to get uqm to re-compile).
Sitting here with my non-oscilloscope version... :|
obj/release/./src/starcon2.o: In function `main': obj/release/./src/starcon2.o(.text+0x88e): undefined reference to `TFB_InitSound' obj/release/./src/sc2code/battle.o: In function `Battle': obj/release/./src/sc2code/battle.o(.text+0x483): undefined reference to `StopSound' obj/release/./src/sc2code/battle.o(.text+0x498): undefined reference to `DestroyMusic' obj/release/./src/sc2code/battle.o: In function `FreeBattleSong': obj/release/./src/sc2code/battle.o(.text+0x546): undefined reference to `DestroyMusic' obj/release/./src/sc2code/cleanup.o: In function `UninitKernel': obj/release/./src/sc2code/cleanup.o(.text+0x22): undefined reference to `DestroySound' obj/release/./src/sc2code/cleanup.o: In function `FreeKernel': obj/release/./src/sc2code/cleanup.o(.text+0x15a): undefined reference to `UninitSound' obj/release/./src/sc2code/comm.o: In function `SpewPhrases': obj/release/./src/sc2code/comm.o(.text+0x18c1): undefined reference to `PlayingTrack' obj/release/./src/sc2code/comm.o(.text+0x18e1): undefined reference to `ResumeTrack' obj/release/./src/sc2code/comm.o(.text+0x190a): undefined reference to `PlayingTrack' obj/release/./src/sc2code/comm.o(.text+0x1962): undefined reference to `JumpTrack' obj/release/./src/sc2code/comm.o(.text+0x197b): undefined reference to `ResumeTrack' obj/release/./src/sc2code/comm.o(.text+0x1a30): undefined reference to `FastForward_Page' obj/release/./src/sc2code/comm.o(.text+0x1a40): undefined reference to `FastForward_Smooth' obj/release/./src/sc2code/comm.o(.text+0x1a77): undefined reference to `FastReverse_Page' obj/release/./src/sc2code/comm.o(.text+0x1a8a): undefined reference to `FastReverse_Smooth' obj/release/./src/sc2code/comm.o(.text+0x1ac4): undefined reference to `PlayingTrack' obj/release/./src/sc2code/comm.o(.text+0x1ade): undefined reference to `ResumeTrack' obj/release/./src/sc2code/comm.o(.text+0x1b21): undefined reference to `PlayingTrack' obj/release/./src/sc2code/comm.o: In function `AlienTalkSegue': obj/release/./src/sc2code/comm.o(.text+0x1d1c): undefined reference to `SetMusicVolume' obj/release/./src/sc2code/comm.o: In function `DoCommunication': obj/release/./src/sc2code/comm.o(.text+0x2034): undefined reference to `StopTrack' obj/release/./src/sc2code/comm.o(.text+0x2342): undefined reference to `StopSound' obj/release/./src/sc2code/comm.o(.text+0x2347): undefined reference to `StopTrack' obj/release/./src/sc2code/comm.o: In function `HailAlien': obj/release/./src/sc2code/comm.o(.text+0x271a): undefined reference to `DestroyMusic' obj/release/./src/sc2code/commglue.o: In function `NPCPhrase': obj/release/./src/sc2code/commglue.o(.text+0x287): undefined reference to `SpliceTrack' obj/release/./src/sc2code/confirm.o: In function `ConfirmExit': obj/release/./src/sc2code/confirm.o(.text+0x2a): undefined reference to `PlayingTrack' obj/release/./src/sc2code/confirm.o(.text+0x34): undefined reference to `PauseTrack' obj/release/./src/sc2code/confirm.o(.text+0x1de): undefined reference to `PlayingTrack' obj/release/./src/sc2code/confirm.o(.text+0x1e8): undefined reference to `ResumeTrack' obj/release/./src/sc2code/credits.o: In function `Credits': obj/release/./src/sc2code/credits.o(.text+0x23a): undefined reference to `DestroyMusic' obj/release/./src/sc2code/encount.o: In function `InitEncounter': obj/release/./src/sc2code/encount.o(.text+0x274): undefined reference to `PLRPlaying' obj/release/./src/sc2code/encount.o(.text+0x289): undefined reference to `DestroyMusic' obj/release/./src/sc2code/encount.o: In function `EncounterBattle': obj/release/./src/sc2code/encount.o(.text+0x12b1): undefined reference to `SoundPlaying' obj/release/./src/sc2code/encount.o(.text+0x134b): undefined reference to `DestroySound' obj/release/./src/sc2code/gameopt.o: In function `DoPickGame': obj/release/./src/sc2code/gameopt.o(.text+0x18ea): undefined reference to `StopSound' obj/release/./src/sc2code/gameopt.o: In function `PickGame': obj/release/./src/sc2code/gameopt.o(.text+0x1fe8): undefined reference to `PLRPlaying' obj/release/./src/sc2code/init.o: In function `UninitShips': obj/release/./src/sc2code/init.o(.text+0x422): undefined reference to `StopSound' obj/release/./src/sc2code/loadship.o: In function `free_ship': obj/release/./src/sc2code/loadship.o(.text+0x26e): undefined reference to `DestroyMusic' obj/release/./src/sc2code/loadship.o(.text+0x285): undefined reference to `DestroySound' obj/release/./src/sc2code/melee.o: In function `DoMelee': obj/release/./src/sc2code/melee.o(.text+0x2a04): undefined reference to `SoundPlaying' obj/release/./src/sc2code/melee.o: In function `Melee': obj/release/./src/sc2code/melee.o(.text+0x31d3): undefined reference to `SoundPlaying' obj/release/./src/sc2code/melee.o(.text+0x3372): undefined reference to `DestroySound' obj/release/./src/sc2code/oscill.o: In function `Slider': obj/release/./src/sc2code/oscill.o(.text+0x70): undefined reference to `GetSoundInfo' obj/release/./src/sc2code/pickmele.o: In function `GetMeleeStarShip': obj/release/./src/sc2code/pickmele.o(.text+0x7b6): undefined reference to `ChannelPlaying' obj/release/./src/sc2code/pickship.o: In function `GetArmadaStarShip': obj/release/./src/sc2code/pickship.o(.text+0x456): undefined reference to `ChannelPlaying' obj/release/./src/sc2code/process.o: In function `PlaySound': obj/release/./src/sc2code/process.o(.text+0x1536): undefined reference to `ChannelPlaying' obj/release/./src/sc2code/settings.o: In function `ToggleMusic': obj/release/./src/sc2code/settings.o(.text+0x2b): undefined reference to `PLRStop' obj/release/./src/sc2code/settings.o(.text+0x55): undefined reference to `PLRPlaySong' obj/release/./src/sc2code/settings.o: In function `PlayMusic': obj/release/./src/sc2code/settings.o(.text+0x99): undefined reference to `PLRPlaySong' obj/release/./src/sc2code/settings.o: In function `StopMusic': obj/release/./src/sc2code/settings.o(.text+0xb6): undefined reference to `PLRStop' obj/release/./src/sc2code/settings.o: In function `ResumeMusic': obj/release/./src/sc2code/settings.o(.text+0xda): undefined reference to `PLRResume' obj/release/./src/sc2code/settings.o: In function `PauseMusic': obj/release/./src/sc2code/settings.o(.text+0xf2): undefined reference to `PLRPause' obj/release/./src/sc2code/settings.o: In function `PlaySoundEffect': obj/release/./src/sc2code/settings.o(.text+0x12d): undefined reference to `SetChannelVolume' obj/release/./src/sc2code/settings.o(.text+0x13a): undefined reference to `GetSampleRate' obj/release/./src/sc2code/settings.o(.text+0x149): undefined reference to `SetChannelRate' obj/release/./src/sc2code/settings.o(.text+0x15d): undefined reference to `GetSampleLength' obj/release/./src/sc2code/settings.o(.text+0x16f): undefined reference to `GetSampleAddress' obj/release/./src/sc2code/settings.o(.text+0x179): undefined reference to `PlayChannel' obj/release/./src/sc2code/setup.o: In function `LoadKernel': obj/release/./src/sc2code/setup.o(.text+0xbda): undefined reference to `InitSound' obj/release/./src/sc2code/ship.o: In function `ship_preprocess': obj/release/./src/sc2code/ship.o(.text+0x3ad): undefined reference to `PLRPlaying' obj/release/./src/sc2code/starbase.o: In function `DoStarBase': obj/release/./src/sc2code/starbase.o(.text+0x73c): undefined reference to `DestroyMusic' obj/release/./src/sc2code/starbase.o(.text+0x933): undefined reference to `DestroyMusic' obj/release/./src/sc2code/starcon.o: In function `Starcon2Main': obj/release/./src/sc2code/starcon.o(.text+0x10e4): undefined reference to `StopSound' obj/release/./src/sc2code/tactrans.o: In function `new_ship': obj/release/./src/sc2code/tactrans.o(.text+0x146): undefined reference to `PLRPlaying' obj/release/./src/sc2code/tactrans.o(.text+0x16a): undefined reference to `StopSound' obj/release/./src/sc2code/utils.o: In function `PauseGame': obj/release/./src/sc2code/utils.o(.text+0x20a): undefined reference to `PlayingTrack' obj/release/./src/sc2code/utils.o(.text+0x214): undefined reference to `PauseTrack' obj/release/./src/sc2code/utils.o(.text+0x3ca): undefined reference to `PlayingTrack' obj/release/./src/sc2code/utils.o(.text+0x3d4): undefined reference to `ResumeTrack' obj/release/./src/sc2code/libs/graphics/sdl/oscilloscope.o: In function `Oscilloscope': obj/release/./src/sc2code/libs/graphics/sdl/oscilloscope.o(.text+0x1f1): undefined reference to `GetSoundData' obj/release/./src/sc2code/libs/sound/fileinst.o: In function `LoadSoundFile': obj/release/./src/sc2code/libs/sound/fileinst.o(.text+0x30): undefined reference to `_GetSoundBankData' obj/release/./src/sc2code/libs/sound/fileinst.o: In function `LoadMusicFile': obj/release/./src/sc2code/libs/sound/fileinst.o(.text+0x80): undefined reference to `_GetMusicData' obj/release/./src/sc2code/libs/sound/resinst.o: In function `InstallAudioResTypes': obj/release/./src/sc2code/libs/sound/resinst.o(.text+0xf): undefined reference to `_ReleaseSoundBankData' obj/release/./src/sc2code/libs/sound/resinst.o(.text+0x14): undefined reference to `_GetSoundBankData' obj/release/./src/sc2code/libs/sound/resinst.o(.text+0x26): undefined reference to `_ReleaseMusicData' obj/release/./src/sc2code/libs/sound/resinst.o(.text+0x2b): undefined reference to `_GetMusicData' obj/release/./src/sc2code/libs/sound/sound_common.o: In function `FadeMusic': obj/release/./src/sc2code/libs/sound/sound_common.o(.text+0xaa): undefined reference to `SetMusicVolume' obj/release/./src/sc2code/libs/sound/sound_common.o: In function `fade_task': obj/release/./src/sc2code/libs/sound/sound_common.o(.text+0x12e): undefined reference to `SetMusicVolume' obj/release/./src/sc2code/planets/lander.o: In function `FreeLanderData': obj/release/./src/sc2code/planets/lander.o(.text+0x34af): undefined reference to `DestroyMusic' obj/release/./src/sc2code/planets/lander.o(.text+0x34d7): undefined reference to `DestroySound' obj/release/./src/sc2code/planets/planets.o: In function `LoadPlanet': obj/release/./src/sc2code/planets/planets.o(.text+0x1c2): undefined reference to `PLRPlaying' obj/release/./src/sc2code/planets/solarsys.o: In function `ChangeSolarSys': obj/release/./src/sc2code/planets/solarsys.o(.text+0x1947): undefined reference to `PLRPlaying' obj/release/./src/sc2code/planets/solarsys.o: In function `FreeIPData': obj/release/./src/sc2code/planets/solarsys.o(.text+0x2d22): undefined reference to `DestroyMusic' collect2: ld returned 1 exit status make: *** [target-uqm] Error 1
|
|
|
Logged
|
|
|
|
TrevorB
Zebranky food
Offline
Posts: 14
I love YaBB 1G - SP1!
|
More info on my setup:
SDL-1.2.5 SDL_image-1.2.2 SDL_mixer from most recent CVS (say, 2 weeks ago) libogg-1.0 libvorbis-1.0 vorbis-tools-1.0
I think I needed each of these for uqm... I once had a problem with no speech, that was fixed by moving from SDL_mixer-1.2.4 to the most recent CVS.
|
|
|
Logged
|
|
|
|
TrevorB
Zebranky food
Offline
Posts: 14
I love YaBB 1G - SP1!
|
again, fixed this on my own. Read my other MixSDL post here.
What is the correct procedure for a rebuild after a cvs update?
|
|
|
Logged
|
|
|
|
|
Pages: [1]
|
|
|
|
|