Comments (13)
Issue 40 has been merged into this issue.
Original comment by [email protected]
on 27 Nov 2008 at 11:14
from garglk.
Issue 41 has been merged into this issue.
Original comment by [email protected]
on 27 Nov 2008 at 11:15
from garglk.
Sound support under Linux now depends on SDL_sound, and specifically SDL_sound
1.0.3.
Earlier versions of SDL_sound clash with SDL_mixer when both are initialized,
causing Gargoyle to hang.
I don't think this is an OSS issue, but for now I'm grouping all Linux sound
issues
together. A fix is forthcoming; I plan to compile and statically link
SDL_sound into
the Gargoyle library, to ensure that a working copy comes with the game. (Many
distros, including Ubuntu 8.04, ship a much earlier version of SDL_sound.)
Original comment by [email protected]
on 27 Nov 2008 at 11:21
- Changed title: Garglk: sound hangs under Linux
- Changed state: Accepted
- Added labels: Priority-Critical, Milestone-20081122, OpSys-Linux
- Removed labels: Priority-Medium
from garglk.
Original comment by [email protected]
on 1 Dec 2008 at 4:43
- Added labels: Usability
from garglk.
Patch + related files for static link SDL_sound build.
Original comment by [email protected]
on 3 Dec 2008 at 3:44
Attachments:
from garglk.
Added fix to r108. Checking out the latest SVN code and building it should
work now.
Original comment by [email protected]
on 3 Dec 2008 at 5:57
from garglk.
[deleted comment]
from garglk.
I checked out r=108, tried jam-ing it, but
it fails for seemingly SMPEG-related errors on every terp (tadsr, frotz etc...):
build/linux.release/garglk/libgarglk.so: undefined reference to `SMPEG_loop'
build/linux.release/garglk/libgarglk.so: undefined reference to `ov_clear'
build/linux.release/garglk/libgarglk.so: undefined reference to `SMPEG_status'
build/linux.release/garglk/libgarglk.so: undefined reference to `ov_info'
build/linux.release/garglk/libgarglk.so: undefined reference to
`SMPEG_actualSpec'
build/linux.release/garglk/libgarglk.so: undefined reference to
`SMPEG_wantedSpec'
build/linux.release/garglk/libgarglk.so: undefined reference to `SMPEG_play'
build/linux.release/garglk/libgarglk.so: undefined reference to
`SMPEG_enablevideo'
build/linux.release/garglk/libgarglk.so: undefined reference to
`ov_open_callbacks'
build/linux.release/garglk/libgarglk.so: undefined reference to `ov_raw_seek'
build/linux.release/garglk/libgarglk.so: undefined reference to
`SMPEG_enableaudio'
build/linux.release/garglk/libgarglk.so: undefined reference to
`SMPEG_new_rwops'
build/linux.release/garglk/libgarglk.so: undefined reference to `SMPEG_error'
build/linux.release/garglk/libgarglk.so: undefined reference to
`SMPEG_playAudio'
build/linux.release/garglk/libgarglk.so: undefined reference to `ov_time_seek'
build/linux.release/garglk/libgarglk.so: undefined reference to `ov_read'
build/linux.release/garglk/libgarglk.so: undefined reference to `SMPEG_delete'
build/linux.release/garglk/libgarglk.so: undefined reference to `SMPEG_skip'
build/linux.release/garglk/libgarglk.so: undefined reference to `SMPEG_rewind'
collect2: ld returned 1 exit status
I'm running Arch Linux, sdl, sdl_sound 1.0.3 and smpeg are installed. What is
missing?
This is even stranger, as sdl_sound is bundled with garglk (as I just found out,
after removing arch linux's sdl_sound package (v.1.0.1-7) and compiling the
newest
version from source and it still doesn't compile). I could have found this out
by
reading comment 3, but that would have been too easy. :)
After running 'jam' there is a binary file
'build/linux.release/SDL_sound_static/SDL_sound_static.a' that contains the
functions
ld is complaining about (SMPEG_error, ov_read etc.). Maybe there is just an
include
path set wrongly or something like that? Any hints are appreciated.
Original comment by [email protected]
on 4 Dec 2008 at 6:30
from garglk.
The latest round of commits should fix this (svn up). I needed to link smpeg &
vorbisfile to garglk as well; this wasn't necessary on Ubuntu 8.10, for some
reason
(newer gcc?).
If you delete your build directory (or at least build/linux.release/garglk) and
try
again, things should link properly.
Original comment by [email protected]
on 5 Dec 2008 at 8:05
from garglk.
Yeah, now it compiles fine and the sound issue is gone. Thanks! :)
Original comment by [email protected]
on 5 Dec 2008 at 9:42
from garglk.
Should be corrected in the latest RC sources.
Original comment by [email protected]
on 7 Dec 2008 at 5:41
- Changed state: Fixed
- Added labels: Milestone-20081225
- Removed labels: Milestone-20081122
from garglk.
The latest RC sources (2008-12-25 rc2) work fine with audio. The previous
release I
tried would hang if I enabled audio.
Original comment by [email protected]
on 11 Dec 2008 at 6:39
from garglk.
Excellent, thanks for your testing & feedback.
Original comment by [email protected]
on 11 Dec 2008 at 3:01
from garglk.
Related Issues (20)
- AIFF files in Blorbs do not play HOT 1
- RFE: Quicksave and quickload for gargoyle free. HOT 3
- Poor performance opening a new window splitting gg_mainwin left or right HOT 4
- Desktop file on the debian package doesn't allow showing gargoyle-free in file association HOT 1
- Full screen mode HOT 2
- Increase MAXUNDO for hugo HOT 4
- Increase undoSize for Git
- GTK-version of Gargoyle crashes when choosing files from non-directory locations HOT 1
- Support more text styles HOT 3
- Garglk *requires* clearing of "more" prompts even for text windows where input is not pending
- TADS 3 interpreter out of date
- Sound notification events are not delivered if the player does nothing
- glk_request_line_event() doesn't work on TextGrid windows
- Enhancement: SVG Capabilities
- Windows doesn't take task bar into account when choosing window size
- frotz module not able to open z-code files with '.DAT' extension HOT 2
- Parameter declarations of function my_malloc differ in signedness
- List files with capitalised extension in file-chooser
- libsmpeg0 dependency
- svn gargoyle doesn't run from the command-line on OS X 10.9.5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from garglk.