VaKeR CYBER ARMY
Logo of a company Server : Apache/2.4.41 (Ubuntu)
System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /usr/share/GNUstep/Documentation/Developer/Gui/Reference/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/GNUstep/Documentation/Developer/Gui/Reference/NSSound.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

    <head>
    <title>NSSound</title>
  </head>
  <body>
    <font face="serif">
    <a href="Gui.html">Up</a>
    <br />
    <h1><a name="title$NSSound">NSSound</a></h1>
    <h3>Authors</h3>
    <dl>
      <dt>Enrico Sersale (<a href="mailto:enrico@imago.ro"><code>enrico@imago.ro</code></a>)</dt>
      <dd>
      </dd>
    </dl>
    <blockquote>
      Load, manipulate and play sounds
    </blockquote>
    <p><b>Copyright:</b> (C) 2002, 2009 Free Software Foundation, Inc.</p>

        <div>
      <hr width="50%" align="left" />
      <h3>Contents -</h3>
      <ol>
        <li>
          <a href="#001000000000">Software documentation for the NSSound class</a>
        </li>
        <li>
          <a href="#002000000000">Software documentation for the
        NSBundle(NSSoundAdditions) category</a>
        </li>
        <li>
          <a href="#003000000000">Software documentation for the
        NSObject(NSSoundDelegate) informal
        protocol</a>
        </li>
      </ol>
      <hr width="50%" align="left" />
    </div>

          <h1><a name="001000000000">
        Software documentation for the NSSound class
      </a></h1>
    <h2><a name="class$NSSound">NSSound</a> : <a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSObject.html#class$NSObject">NSObject</a></h2>
    <blockquote class="declared">
      <dl>
        <dt><b>Declared in:</b></dt>
        <dd>AppKit/NSSound.h</dd>
      </dl>
    </blockquote>
    <blockquote>
      <dl>
        <dt><b>Conforms to:</b></dt>
        <dd><a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSObject.html#protocol$(NSCoding)">NSCoding</a></dd>
        <dd><a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSObject.html#protocol$(NSCopying)">NSCopying</a></dd>
      </dl>
    </blockquote>
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
          <em>Description forthcoming.</em>
        
    </div>
    <hr width="50%" align="left" />
    <a href="#_NSSound_ivars">Instance Variables</a>
    <br/><br/>
    <b>Method summary</b>
    <ul>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound+canInitWithPasteboard$">+canInitWithPasteboard:</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound+soundNamed$">+soundNamed:</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound+soundUnfilteredFileTypes">+soundUnfilteredFileTypes</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound+soundUnfilteredPasteboardTypes">+soundUnfilteredPasteboardTypes</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound+soundUnfilteredTypes">+soundUnfilteredTypes</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound-channelMapping">-channelMapping</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound-currentTime">-currentTime</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound-delegate">-delegate</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound-duration">-duration</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound-initWithContentsOfFile$byReference$">-initWithContentsOfFile:byReference:</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound-initWithContentsOfURL$byReference$">-initWithContentsOfURL:byReference:</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound-initWithData$">-initWithData:</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound-initWithPasteboard$">-initWithPasteboard:</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound-isPlaying">-isPlaying</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound-loops">-loops</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound-name">-name</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound-pause">-pause</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound-play">-play</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound-playbackDeviceIdentifier">-playbackDeviceIdentifier</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound-resume">-resume</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound-setChannelMapping$">-setChannelMapping:</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound-setCurrentTime$">-setCurrentTime:</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound-setDelegate$">-setDelegate:</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound-setLoops$">-setLoops:</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound-setName$">-setName:</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound-setPlaybackDeviceIdentifier$">-setPlaybackDeviceIdentifier:</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound-setVolume$">-setVolume:</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound-stop">-stop</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound-volume">-volume</a></li>
      <li><a rel="gsdoc" href="NSSound.html#method$NSSound-writeToPasteboard$">-writeToPasteboard:</a></li>
    </ul>
    <hr width="50%" align="left" />
<div class="method">
    <h3><a name="method$NSSound+canInitWithPasteboard$">canInitWithPasteboard:&nbsp;</a></h3>
    + (BOOL) <b>canInitWithPasteboard:</b> (<a rel="gsdoc" href="NSPasteboard.html#class$NSPasteboard">NSPasteboard</a>*)pasteboard;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Description forthcoming.</em>
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound+soundNamed$">soundNamed:&nbsp;</a></h3>
    + (id) <b>soundNamed:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)name;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Description forthcoming.</em>
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound+soundUnfilteredFileTypes">soundUnfilteredFileTypes&nbsp;</a></h3>
    + (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*) <b>soundUnfilteredFileTypes</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Provides an array of file types that NSSound can
            understand. The returning array may be directly
            passed to [NSOpenPanel -runModalForTypes:].
            
    </p>
    <p>

              Built with libsndfile:
                </p>
    <p>
      
            wav, aiff, aifc, aif, au, snd, mat, mat4, mat5, paf,
            sf, voc, w64, xi, caf, sd2, flac, ogg, oga
            
    </p>
    <p>

              Built without libsndfile:
                </p>
    <p>
      
            wav, aiff, aifc, aif, au, snd
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound+soundUnfilteredPasteboardTypes">soundUnfilteredPasteboardTypes&nbsp;</a></h3>
    + (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*) <b>soundUnfilteredPasteboardTypes</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Description forthcoming.</em>
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound+soundUnfilteredTypes">soundUnfilteredTypes&nbsp;</a></h3>
    + (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*) <b>soundUnfilteredTypes</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.5.0</div>
<br />
    <div class="desc">
      
            <em>Description forthcoming.</em>
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound-channelMapping">channelMapping&nbsp;</a></h3>
    - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*) <b>channelMapping</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.5.0</div>
<br />
    <div class="desc">
      
            <em>Description forthcoming.</em>
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound-currentTime">currentTime&nbsp;</a></h3>
    - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSTimeInterval">NSTimeInterval</a>) <b>currentTime</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.5.0</div>
<br />
    <div class="desc">
      
            Returns the current position of the audio playback.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound-delegate">delegate&nbsp;</a></h3>
    - (id) <b>delegate</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns the receiver&apos;s delegate
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound-duration">duration&nbsp;</a></h3>
    - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSTimeInterval">NSTimeInterval</a>) <b>duration</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.5.0</div>
<br />
    <div class="desc">
      
            Returns the length, in seconds, of the receiver.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound-initWithContentsOfFile$byReference$">initWithContentsOfFile:&nbsp;byReference:&nbsp;</a></h3>
    - (id) <b>initWithContentsOfFile:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)path<b> byReference:</b> (BOOL)byRef;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
This is a designated initialiser for the class.<br />
    <div class="desc">
      
            Initalizes the receiver object with the contents
            of file located at <var>path</var>. If <var>byRef</var>
            is set to <code>YES</code> only the name of the NSSound
            is encoded with
            
              -encodeWithCoder:
            

            ; if set to <code>NO</code> the data is encoded.
            
    </p>
    <p>

              See Also:
                </p>
    <p>
      
            
      <ul>
        <li>
          
                <a rel="gsdoc" href="#method$NSSound-initWithContentsOfURL$byReference$">-initWithContentsOfURL:byReference:</a>

              
        </li>
        <li>
          
                <a rel="gsdoc" href="#method$NSSound-initWithData$">
                  -initWithData:
                </a>

              
        </li>
      </ul>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound-initWithContentsOfURL$byReference$">initWithContentsOfURL:&nbsp;byReference:&nbsp;</a></h3>
    - (id) <b>initWithContentsOfURL:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSURL.html#class$NSURL">NSURL</a>*)url<b> byReference:</b> (BOOL)byRef;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
This is a designated initialiser for the class.<br />
    <div class="desc">
      
            Initializes the receiver object with the
            contents of the data located in <var>url</var>. If
            <var>byRef</var> is set to <code>YES</code> only the
            name of the NSSound is encoded with
            
              -encodeWithCoder:
            

            ; if set to <code>NO</code> the data is encoded.
            
    </p>
    <p>

              See Also:
                </p>
    <p>
      
            
      <ul>
        <li>
          
                <a rel="gsdoc" href="#method$NSSound-initWithContentsOfFile$byReference$">-initWithContentsOfFile:byReference:</a>

              
        </li>
        <li>
          
                <a rel="gsdoc" href="#method$NSSound-initWithData$">
                  -initWithData:
                </a>

              
        </li>
      </ul>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound-initWithData$">initWithData:&nbsp;</a></h3>
    - (id) <b>initWithData:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSData.html#class$NSData">NSData</a>*)data;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
This is a designated initialiser for the class.<br />
    <div class="desc">
      
            Initializes the receiver object with the
            contents of <var>data</var> with a valid magic
            number.
            
    </p>
    <p>

              See Also:
                </p>
    <p>
      
            
      <ul>
        <li>
          
                <a rel="gsdoc" href="#method$NSSound-initWithContentsOfFile$byReference$">-initWithContentsOfFile:byReference:</a>

              
        </li>
        <li>
          
                <a rel="gsdoc" href="#method$NSSound-initWithContentsOfURL$byReference$">-initWithContentsOfURL:byReference:</a>

              
        </li>
      </ul>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound-initWithPasteboard$">initWithPasteboard:&nbsp;</a></h3>
    - (id) <b>initWithPasteboard:</b> (<a rel="gsdoc" href="NSPasteboard.html#class$NSPasteboard">NSPasteboard</a>*)pasteboard;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Description forthcoming.</em>
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound-isPlaying">isPlaying&nbsp;</a></h3>
    - (BOOL) <b>isPlaying</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Description forthcoming.</em>
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound-loops">loops&nbsp;</a></h3>
    - (BOOL) <b>loops</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.5.0</div>
<br />
    <div class="desc">
      
            Returns the current loop property of the receiver.
            <code>YES</code> indicates this NSSound will restart
            once it reaches the end, otherwise <code>NO</code>.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound-name">name&nbsp;</a></h3>
    - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>name</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns the name of the receiver. Use
            <a rel="gsdoc" href="#method$NSSound-setName$">
              -setName:
            </a>

            to set the name.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound-pause">pause&nbsp;</a></h3>
    - (BOOL) <b>pause</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Pauses audio playback.
            
    </p>
    <p>

              Returns <code>NO</code> if receiver could not be
              paused or is already paused, and <code>YES</code>
              if receiver was successfully paused.
                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound-play">play&nbsp;</a></h3>
    - (BOOL) <b>play</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Start audio playback. Playback is done
            asynchronously.
            
    </p>
    <p>

              Returns <code>NO</code> if receiver is already
              playing or if an error occurred, and
              <code>YES</code> if receiver was started
              successfully.
                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound-playbackDeviceIdentifier">playbackDeviceIdentifier&nbsp;</a></h3>
    - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>playbackDeviceIdentifier</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.5.0</div>
<br />
    <div class="desc">
      
            <em>Description forthcoming.</em>
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound-resume">resume&nbsp;</a></h3>
    - (BOOL) <b>resume</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Resume audio playback after a
            <a rel="gsdoc" href="#method$NSSound-pause">
              -pause
            </a>

            .
            
    </p>
    <p>

              Returns <code>NO</code> if receiver is already
              playing or if an error occurred, and
              <code>YES</code> if receiver was successfully
              restarted/resumed.
                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound-setChannelMapping$">setChannelMapping:&nbsp;</a></h3>
    - (void) <b>setChannelMapping:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*)channelMapping;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.5.0</div>
<br />
    <div class="desc">
      
            <em>Description forthcoming.</em>
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound-setCurrentTime$">setCurrentTime:&nbsp;</a></h3>
    - (void) <b>setCurrentTime:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSTimeInterval">NSTimeInterval</a>)currentTime;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.5.0</div>
<br />
    <div class="desc">
      
            Sets the current time of the audio playback.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound-setDelegate$">setDelegate:&nbsp;</a></h3>
    - (void) <b>setDelegate:</b> (id)aDelegate;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Sets the receiver&apos;s delegate
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound-setLoops$">setLoops:&nbsp;</a></h3>
    - (void) <b>setLoops:</b> (BOOL)loops;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.5.0</div>
<br />
    <div class="desc">
      
            Sets the loop property of the receiver.
            <code>YES</code> indicates this NSSound will restart
            once it reaches the end, otherwise <code>NO</code>.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound-setName$">setName:&nbsp;</a></h3>
    - (BOOL) <b>setName:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)aName;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Sets the receiver&apos;s name. Method
            <a rel="gsdoc" href="#method$NSSound-name">
              -name
            </a>

            will return <var>aName</var>.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound-setPlaybackDeviceIdentifier$">setPlaybackDeviceIdentifier:&nbsp;</a></h3>
    - (void) <b>setPlaybackDeviceIdentifier:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)playbackDeviceIdentifier;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.5.0</div>
<br />
    <div class="desc">
      
            <em>Description forthcoming.</em>
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound-setVolume$">setVolume:&nbsp;</a></h3>
    - (void) <b>setVolume:</b> (float)volume;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.5.0</div>
<br />
    <div class="desc">
      
            Sets the <var>volume</var> of the receiver. Volume
            must be between 0.0 and 1.0.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound-stop">stop&nbsp;</a></h3>
    - (BOOL) <b>stop</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Stop audio playback.
            
    </p>
    <p>

              Return <code>YES</code> if receiver was
              successfully stopped.
                </p>
    <p>
      
            
    </p>
    <p>

              This method will close the playback device.
                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound-volume">volume&nbsp;</a></h3>
    - (float) <b>volume</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.5.0</div>
<br />
    <div class="desc">
      
            Returns the volume of the receiver. Volume will be
            between 0.0 and 1.0.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSound-writeToPasteboard$">writeToPasteboard:&nbsp;</a></h3>
    - (void) <b>writeToPasteboard:</b> (<a rel="gsdoc" href="NSPasteboard.html#class$NSPasteboard">NSPasteboard</a>*)pasteboard;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Description forthcoming.</em>
          
    </div>
    <hr width="25%" align="left" />
</div>
<a name="_NSSound_ivars"/>    <br/><hr width="50%" align="left" />
    <h2>Instance Variables for NSSound Class</h2>
    <h3><a name="ivariable$NSSound*_channelMapping">_channelMapping</a></h3>
    @protected NSArray* <b>_channelMapping</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Warning</em> the underscore at the start of the
            name of this instance variable indicates that, even
            though it is not technically <em>private</em>, it is
            intended for internal use within the package, and
            you should not use the variable in other code.
          
    </div>
    <hr width="25%" align="left" />
    <h3><a name="ivariable$NSSound*_data">_data</a></h3>
    @protected NSData* <b>_data</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Warning</em> the underscore at the start of the
            name of this instance variable indicates that, even
            though it is not technically <em>private</em>, it is
            intended for internal use within the package, and
            you should not use the variable in other code.
          
    </div>
    <hr width="25%" align="left" />
    <h3><a name="ivariable$NSSound*_delegate">_delegate</a></h3>
    @protected id <b>_delegate</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Warning</em> the underscore at the start of the
            name of this instance variable indicates that, even
            though it is not technically <em>private</em>, it is
            intended for internal use within the package, and
            you should not use the variable in other code.
          
    </div>
    <hr width="25%" align="left" />
    <h3><a name="ivariable$NSSound*_name">_name</a></h3>
    @protected NSString* <b>_name</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Warning</em> the underscore at the start of the
            name of this instance variable indicates that, even
            though it is not technically <em>private</em>, it is
            intended for internal use within the package, and
            you should not use the variable in other code.
          
    </div>
    <hr width="25%" align="left" />
    <h3><a name="ivariable$NSSound*_onlyReference">_onlyReference</a></h3>
    @protected BOOL <b>_onlyReference</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Warning</em> the underscore at the start of the
            name of this instance variable indicates that, even
            though it is not technically <em>private</em>, it is
            intended for internal use within the package, and
            you should not use the variable in other code.
          
    </div>
    <hr width="25%" align="left" />
    <h3><a name="ivariable$NSSound*_playbackDeviceIdentifier">_playbackDeviceIdentifier</a></h3>
    @protected NSString* <b>_playbackDeviceIdentifier</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Warning</em> the underscore at the start of the
            name of this instance variable indicates that, even
            though it is not technically <em>private</em>, it is
            intended for internal use within the package, and
            you should not use the variable in other code.
          
    </div>
    <hr width="25%" align="left" />
    <h3><a name="ivariable$NSSound*_playbackLock">_playbackLock</a></h3>
    @protected NSLock* <b>_playbackLock</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Warning</em> the underscore at the start of the
            name of this instance variable indicates that, even
            though it is not technically <em>private</em>, it is
            intended for internal use within the package, and
            you should not use the variable in other code.
          
    </div>
    <hr width="25%" align="left" />
    <h3><a name="ivariable$NSSound*_readLock">_readLock</a></h3>
    @protected NSConditionLock* <b>_readLock</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Warning</em> the underscore at the start of the
            name of this instance variable indicates that, even
            though it is not technically <em>private</em>, it is
            intended for internal use within the package, and
            you should not use the variable in other code.
          
    </div>
    <hr width="25%" align="left" />
    <h3><a name="ivariable$NSSound*_shouldLoop">_shouldLoop</a></h3>
    @protected BOOL <b>_shouldLoop</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Warning</em> the underscore at the start of the
            name of this instance variable indicates that, even
            though it is not technically <em>private</em>, it is
            intended for internal use within the package, and
            you should not use the variable in other code.
          
    </div>
    <hr width="25%" align="left" />
    <h3><a name="ivariable$NSSound*_shouldStop">_shouldStop</a></h3>
    @protected BOOL <b>_shouldStop</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Warning</em> the underscore at the start of the
            name of this instance variable indicates that, even
            though it is not technically <em>private</em>, it is
            intended for internal use within the package, and
            you should not use the variable in other code.
          
    </div>
    <hr width="25%" align="left" />
    <h3><a name="ivariable$NSSound*_sink">_sink</a></h3>
    @protected id<GSSoundSink> <b>_sink</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Warning</em> the underscore at the start of the
            name of this instance variable indicates that, even
            though it is not technically <em>private</em>, it is
            intended for internal use within the package, and
            you should not use the variable in other code.
          
    </div>
    <hr width="25%" align="left" />
    <h3><a name="ivariable$NSSound*_source">_source</a></h3>
    @protected id<GSSoundSource> <b>_source</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Warning</em> the underscore at the start of the
            name of this instance variable indicates that, even
            though it is not technically <em>private</em>, it is
            intended for internal use within the package, and
            you should not use the variable in other code.
          
    </div>
    <hr width="25%" align="left" />
    <br/><hr width="50%" align="left" /><br/>

          <h1><a name="002000000000">
        Software documentation for the
        NSBundle(NSSoundAdditions) category
      </a></h1>
    <h2><a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSBundle.html#class$NSBundle">NSBundle</a>(<a name="category$NSBundle(NSSoundAdditions)">NSSoundAdditions</a>)</h2>
    <blockquote class="declared">
      <dl>
        <dt><b>Declared in:</b></dt>
        <dd>AppKit/NSSound.h</dd>
      </dl>
    </blockquote>
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
          <em>Description forthcoming.</em>
        
    </div>
    <b>Method summary</b>
    <ul>
      <li><a rel="gsdoc" href="NSSound.html#method$NSBundle(NSSoundAdditions)-pathForSoundResource$">-pathForSoundResource:</a></li>
    </ul>
    <hr width="50%" align="left" />
<div class="method">
    <h3><a name="method$NSBundle(NSSoundAdditions)-pathForSoundResource$">pathForSoundResource:&nbsp;</a></h3>
    - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>pathForSoundResource:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)name;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Description forthcoming.</em>
          
    </div>
    <hr width="25%" align="left" />
</div>

          <h1><a name="003000000000">
        Software documentation for the
        NSObject(NSSoundDelegate) informal
        protocol
      </a></h1>
    <h2><a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSObject.html#class$NSObject">NSObject</a>(<a name="category$NSObject(NSSoundDelegate)">NSSoundDelegate</a>)</h2>
    <blockquote class="declared">
      <dl>
        <dt><b>Declared in:</b></dt>
        <dd>AppKit/NSSound.h</dd>
      </dl>
    </blockquote>
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
          <em>Description forthcoming.</em>
        
    </div>
    <b>Method summary</b>
    <ul>
      <li><a rel="gsdoc" href="NSSound.html#method$NSObject(NSSoundDelegate)-sound$didFinishPlaying$">-sound:didFinishPlaying:</a></li>
    </ul>
    <hr width="50%" align="left" />
<div class="method">
    <h3><a name="method$NSObject(NSSoundDelegate)-sound$didFinishPlaying$">sound:&nbsp;didFinishPlaying:&nbsp;</a></h3>
    - (void) <b>sound:</b> (<a rel="gsdoc" href="#class$NSSound">NSSound</a>*)sound<b> didFinishPlaying:</b> (BOOL)aBool;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Method called when <var>sound</var> has finished
            playing. Currently this method is not called.
          
    </div>
    <hr width="25%" align="left" />
</div>
    <br />
    <a href="Gui.html">Up</a>
    </font>
</body>
</html>

VaKeR 2022