Skip to content

Commit 79032a0

Browse files
committed
need to deal with coreaudio
1 parent 0f29e6c commit 79032a0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/projectM-sdl/projectM_SDL_main.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ int selectAudioInput(projectMApp *app) {
3232
// too bad the libsdl2 audio capture support doesn't exist
3333

3434
#ifdef __APPLE__
35-
UInt32 audioInputIsAvailable;
36-
UInt32 propertySize = sizeof (audioInputIsAvailable);
35+
// UInt32 audioInputIsAvailable;
36+
// UInt32 propertySize = sizeof (audioInputIsAvailable);
3737

38-
AudioSessionGetProperty (
39-
kAudioSessionProperty_AudioInputAvailable,
40-
&propertySize,
41-
&audioInputIsAvailable // A nonzero value on output means that
42-
// audio input is available
43-
);
38+
// AudioSessionGetProperty (
39+
// kAudioSessionProperty_AudioInputAvailable,
40+
// &propertySize,
41+
// &audioInputIsAvailable // A nonzero value on output means that
42+
// // audio input is available
43+
// );
4444

4545
#endif
4646

0 commit comments

Comments
 (0)