~ubuntu-branches/debian/squeeze/stella/squeeze

« back to all changes in this revision

Viewing changes to src/common/SoundSDL.hxx

  • Committer: Bazaar Package Importer
  • Author(s): Luca Falavigna, Franczen Attila, Luca Falavigna
  • Date: 2008-11-08 12:04:12 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20081108120412-w6xq87vzgokstfey
Tags: 2.6.1-0ubuntu1
[ Franczen Attila ]
* New upstream release (LP: #183571).
* Updated policy to 3.8.0.

[ Luca Falavigna ]
* debian/patches/gcc-4.3: fix FTBFS with gcc-4.3 compiler.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
//  SS  SS   tt   ee      ll   ll  aa  aa
9
9
//   SSSS     ttt  eeeee llll llll  aaaaa
10
10
//
11
 
// Copyright (c) 1995-2005 by Bradford W. Mott and the Stella team
 
11
// Copyright (c) 1995-2008 by Bradford W. Mott and the Stella team
12
12
//
13
13
// See the file "license" for information on usage and redistribution of
14
14
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
15
15
//
16
 
// $Id: SoundSDL.hxx,v 1.16 2005/09/10 16:19:20 bwmott Exp $
 
16
// $Id: SoundSDL.hxx,v 1.20 2008/05/19 21:16:58 stephena Exp $
17
17
//============================================================================
18
18
 
19
19
#ifndef SOUND_SDL_HXX
34
34
  This class implements the sound API for SDL.
35
35
 
36
36
  @author Stephen Anthony and Bradford W. Mott
37
 
  @version $Id: SoundSDL.hxx,v 1.16 2005/09/10 16:19:20 bwmott Exp $
 
37
  @version $Id: SoundSDL.hxx,v 1.20 2008/05/19 21:16:58 stephena Exp $
38
38
*/
39
39
class SoundSDL : public Sound
40
40
{
79
79
 
80
80
      @param framerate The base framerate depending on NTSC or PAL ROM
81
81
    */
82
 
    void setFrameRate(uInt32 framerate);
 
82
    void setFrameRate(float framerate);
83
83
 
84
84
    /**
85
85
      Initializes the sound device.  This must be called before any
253
253
    Int32 myLastRegisterSetCycle;
254
254
 
255
255
    // Indicates the base framerate depending on if the ROM is NTSC or PAL
256
 
    uInt32 myDisplayFrameRate;
 
256
    float myDisplayFrameRate;
257
257
 
258
258
    // Indicates the number of channels (mono or stereo)
259
259
    uInt32 myNumChannels;