// Date: 08/11/1999
// Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999
// CVSID: $Id$
+// License: wxWindows license
// --------------------------------------------------------------------------
#ifndef _WX_SNDBASE_H
#define _WX_SNDBASE_H
#endif
#include "wx/defs.h"
+#include "wx/mmedia/defs.h"
// ------------------------------------------------------------------------
// DEFINITIONS
wxSOUND_NOTSTARTED
} wxSoundError;
-class WXDLLEXPORT wxSoundStream;
+class WXDLLIMPEXP_MMEDIA wxSoundStream;
// ---------------------
// wxSoundCallback(stream, evt, cdata): C callback for sound event.
// Base class for sound format specification
//
-class WXDLLEXPORT wxSoundFormatBase {
+class WXDLLIMPEXP_MMEDIA wxSoundFormatBase {
public:
wxSoundFormatBase();
virtual ~wxSoundFormatBase();
// Base class for sound streams
//
-class WXDLLEXPORT wxSoundStream {
+class WXDLLIMPEXP_MMEDIA wxSoundStream {
public:
wxSoundStream();
virtual ~wxSoundStream();
// Returns the best size for IO calls
virtual wxUint32 GetBestSize() const { return 1024; }
- // SetSoundFormat returns TRUE when the format can be handled.
+ // SetSoundFormat returns true when the format can be handled.
virtual bool SetSoundFormat(const wxSoundFormatBase& format);
// GetSoundFormat returns the current sound format.
wxUint32 GetLastAccess() const { return m_lastcount; }
// This is only useful for device (I think).
- virtual bool QueueFilled() const { return TRUE; }
+ virtual bool QueueFilled() const { return true; }
protected:
// Current sound format