Sound attribute of a button - app doesn't play the sound
Hi, I added the sound attribute for a button in my GNUstep Renaissance application in the .gsmarkup file: button type=toggle title=1 alternateTitle=0 sound=GombHangja_Magas.ogg id=CPb0sr nextKeyView=#CPb0? / but when compiled and run the app, I can't heare the sound of that button. Why? -- Regards, Paul Chany http://www.debian.org http://wiki.debian.org/DebianEdu http://csanyi-pal.info ___ Discuss-gnustep mailing list Discuss-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnustep
Re: Sound attribute of a button - app doesn't play the sound
I'm assuming this feature uses NSSound to play sound, so the problem would most likely be there. Do you have libsndfile and libao installed on your system? If you do have those two libraries, make sure GNUstep built and installed the Sndfile.nssound and AudioOutput.nssound bundles... they should be installed in the Bundles/ dir. Stef On Sat, Sep 18, 2010 at 7:46 AM, Csanyi Pal csanyi...@gmail.com wrote: Hi, I added the sound attribute for a button in my GNUstep Renaissance application in the .gsmarkup file: button type=toggle title=1 alternateTitle=0 sound=GombHangja_Magas.ogg id=CPb0sr nextKeyView=#CPb0? / but when compiled and run the app, I can't heare the sound of that button. Why? -- Regards, Paul Chany http://www.debian.org http://wiki.debian.org/DebianEdu http://csanyi-pal.info ___ Discuss-gnustep mailing list Discuss-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnustep ___ Discuss-gnustep mailing list Discuss-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnustep
Re: Sound attribute of a button - app doesn't play the sound
On Sat, Sep 18, 2010 at 10:53 AM, Csanyi Pal csanyi...@gmail.com wrote: Maybe the problem is that that the sound file is in OGG format? Recent versions of libsndfile support ogg/vorbis and the build shipped with Debian seem to support it as well (at least it requires libogg and libvorbis). I've never used Renaissance and I'm not sure how it handles the sound tag, so I'm not sure I can help you here. You have all the requirements to create and playback a NSSound. At this point, you're going to have to wait for someone that knows how Renaissance works, because I have no idea what the sound tag does. To tell you the truth, I think you're the first person to really test sound playback since I reimplemented it over a year ago. It's nice to see someone is taking advantage of it (or in this case, not so much). Thanks. Stef ___ Discuss-gnustep mailing list Discuss-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnustep