patchGNUstep - Patches: patch #6839, NSSound to work with libsndfile...


You are not allowed to post comments on this tracker with your current authentication level.

patch #6839: NSSound to work with libsndfile and OpenAL

Submitted by:  Stef <stefanbidi>
Submitted on:  Sun 24 May 2009 01:44:19 AM UTC  
Category:  AppKit Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Sun 24 May 2009 01:56:52 PM UTC, comment #1: 

I messed up on the previous patch!  For one thing, I forgot to add -duration, and I also missed a problem in the -getDataFromFileAtPath: that I thought I had already fixed.

By the way, I'm not including the stuff for "configure" since it's so huge (roughly 90% of the patch was "configure"), so autoconf will need to be run.

(file #18192)

Stef <stefanbidi>
Project Member
Sun 24 May 2009 01:44:19 AM UTC, original submission:  

This patch is pretty intrusive, and at this point I'm not sure of it's correctness (as a matter of fact, there's parts that need to be looked into, look for "FIXME" tag).

It needs work in the decode/encode and coping sections, but besides that it builds and plays sounds on my PC (Debian x86 and x86_64).

The reason I submit this patch is because gsnd does not reproduce audio in my PC and I moved the code to OpenAL.  While I was in there, I figured I'd bring GNUstep's implementation of NSSound up to par with that of Mac OS X 10.5.  Using libsndfile >= 1.18 (>=1.19 on Debian systems) I can play everything from AIFF and WAV to FLAC and Vorbis.

Stef <stefanbidi>
Project Member


Attached Files
file #18192:  NSSound_gui_v2.diff added by stefanbidi (26KiB - text/x-diff)
file #18189:  NSSound_gui.diff added by stefanbidi (25KiB - text/x-patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by FredKiefer (Updated the item)
  • -email is unavailable- added by stefanbidi (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-11-07 FredKiefer StatusNone => Done
        Open/ClosedOpen => Closed
    2009-05-24 stefanbidi Attached File- => Added NSSound_gui_v2.diff, #18192
    2009-05-24 stefanbidi Attached File- => Added NSSound_gui.diff, #18189

    Back to the top

    Powered by Savane 3.6