enabling correct audio framework on OSX

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2009-09-13 17:23:53 +00:00
parent 3b3d8b979b
commit 4e16d05a28
3 changed files with 27 additions and 4 deletions

View File

@@ -48,6 +48,13 @@
#endif #endif
/*
* Audio System
*/
#define wxOSX_USE_QUICKTIME 1
#define wXOSX_USE_AUDIOTOOLBOX 0
#endif #endif
/* _WX_OSX_CARBON_CHKCONF_H_ */ /* _WX_OSX_CARBON_CHKCONF_H_ */

View File

@@ -40,6 +40,18 @@
#endif #endif
/*
* Audio System
*/
#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5
#define wxOSX_USE_QUICKTIME 0
#define wXOSX_USE_AUDIOTOOLBOX 1
#else // platform < 10.5
#define wxOSX_USE_QUICKTIME 1
#define wXOSX_USE_AUDIOTOOLBOX 0
#endif
/* /*
* turning off capabilities that don't work under cocoa yet * turning off capabilities that don't work under cocoa yet
*/ */

View File

@@ -24,6 +24,9 @@
#define wxOSX_USE_ATSU_TEXT 0 #define wxOSX_USE_ATSU_TEXT 0
#define wxHAS_OPENGL_ES #define wxHAS_OPENGL_ES
#define wxOSX_USE_QUICKTIME 0
#define wXOSX_USE_AUDIOTOOLBOX 1
/* /*
* turning off capabilities that don't work under iphone yet * turning off capabilities that don't work under iphone yet
*/ */
@@ -85,8 +88,10 @@
#define wxUSE_COMBOBOX 0 #define wxUSE_COMBOBOX 0
#endif #endif
#undef wxUSE_SCROLLBAR #ifndef __WXUNIVERSAL__
#undef wxUSE_SCROLLBAR
#define wxUSE_SCROLLBAR 0 #define wxUSE_SCROLLBAR 0
#endif
#undef wxUSE_STATUSBAR #undef wxUSE_STATUSBAR
#undef wxUSE_NATIVE_STATUSBAR #undef wxUSE_NATIVE_STATUSBAR
@@ -97,7 +102,6 @@
#undef wxUSE_COLLPANE #undef wxUSE_COLLPANE
#undef wxUSE_STATBMP #undef wxUSE_STATBMP
#undef wxUSE_STATBOX #undef wxUSE_STATBOX
#undef wxUSE_CHECKBOX
#undef wxUSE_RADIOBTN #undef wxUSE_RADIOBTN
#undef wxUSE_RADIOBOX #undef wxUSE_RADIOBOX
#undef wxUSE_TOGGLEBTN #undef wxUSE_TOGGLEBTN
@@ -112,7 +116,6 @@
#define wxUSE_COLLPANE 0 #define wxUSE_COLLPANE 0
#define wxUSE_STATBMP 0 #define wxUSE_STATBMP 0
#define wxUSE_STATBOX 0 #define wxUSE_STATBOX 0
#define wxUSE_CHECKBOX 0
#define wxUSE_RADIOBTN 0 #define wxUSE_RADIOBTN 0
#define wxUSE_RADIOBOX 0 #define wxUSE_RADIOBOX 0
#define wxUSE_TOGGLEBTN 0 #define wxUSE_TOGGLEBTN 0
@@ -277,11 +280,12 @@
#define wxUSE_CLIPBOARD 0 #define wxUSE_CLIPBOARD 0
#endif // wxUSE_CLIPBOARD #endif // wxUSE_CLIPBOARD
/*
#if wxUSE_GLCANVAS #if wxUSE_GLCANVAS
#undef wxUSE_GLCANVAS #undef wxUSE_GLCANVAS
#define wxUSE_GLCANVAS 0 #define wxUSE_GLCANVAS 0
#endif // wxUSE_GLCANVAS #endif // wxUSE_GLCANVAS
*/
#if wxUSE_COLOURDLG #if wxUSE_COLOURDLG
#undef wxUSE_COLOURDLG #undef wxUSE_COLOURDLG