discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Obj-C, Handling the sound attribute of a button - SOLVED but on Wind


From: Csanyi Pal
Subject: Re: Obj-C, Handling the sound attribute of a button - SOLVED but on Windows
Date: Sun, 03 Oct 2010 16:05:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Csanyi Pal <csanyipal@gmail.com> writes:

> "Nicola Pero" <nicola.pero@meta-innovation.com> writes:
>
>> Btw, my guess is that this has nothing to do with Renaissance.  The
>> problem is that 
>>
>>  [NSSound soundNamed: @"GombHangja_Magas.wav"];
>>
>> does not work (ie, returns 'nil') when the sound is a local file
>> inside the application bundle.  It should be easy to write a short
>> test and check. 
>
> The following code solve my problem:
>
> [code]
>   NSSound *DPBin = [NSSound soundNamed: @"DPBin.wav"];
>   [DPBin play];
> [/code]

However, the

[DPBin play];

command doesn't play any sound on Windows XP operating system. What is
the solution for this on Windows?

-- 
Regards, Paul Chany
<http://www.debian.org> <http://wiki.debian.org/DebianEdu>
<http://sourceforge.net/projects/lptinterface/>
<http://csanyi-pal.info>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]