Skip to content

Commit f323528

Browse files
author
-
committed
add the compilation command too
1 parent aecddc8 commit f323528

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/cubeb/cubeb.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ extern "C" {
3232
If you receive "Could not open the stream", you likely do not have a
3333
microphone. In that case, change PIPE_INPUT_TO_OUTPUT from true to false.
3434
35+
On Windows: "g++ example.c -lcubeb -lavrt -luuid -lksuser -lole32 -lwinmm"
36+
Visual Studio will also work on Windows, just add the above libraries.
37+
38+
On Linux: "g++ example.c -lcubeb"
39+
3540
@code
3641
#include "cubeb/cubeb.h"
3742
#include "stdio.h"

0 commit comments

Comments
 (0)