Last active
August 29, 2015 14:05
-
-
Save cosmo0920/e74b647a6465698a2746 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% ./dist/build/example-portaudio/example-portaudio 48000 1024 | |
Initialization: 0 | |
Available APIs: | |
Opening the default stream: -9985 | |
example-portaudio: user error (Failed.) | |
./dist/build/example-portaudio/example-portaudio 44100 1024 | |
Initialization: 0 | |
Available APIs: | |
Opening the default stream: -9985 | |
example-portaudio: user error (Failed.) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% brew install portaudio(pa_stable_v19_20140130.tgz installed) | |
% clang -o paex_sine paex_sine.c -framework Carbon -framework AudioUnit -framework AudioToolbox -framework CoreAudio -lportaudio | |
% ./paex_sine | |
PortAudio Test: output sine wave. SR = 44100, BufSize = 64 | |
Play for 5 seconds. | |
Stream Completed: No Message | |
Test finished. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% ./dist/build/example-portaudio/example-portaudio 44100 1024 | |
Initialization: 0 | |
Available APIs: | |
(0,"Core Audio") | |
Opening the default stream: 0 | |
Starting the stream: 0 | |
Stopping the stream: 0 | |
Closing the stream: 0 | |
% ./dist/build/example-portaudio/example-portaudio 48000 1024 | |
Initialization: 0 | |
Available APIs: | |
(0,"Core Audio") | |
Opening the default stream: 0 | |
Starting the stream: 0 | |
Stopping the stream: 0 | |
Closing the stream: 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment