summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorLuo Jinghua <sunmoon1997@gmail.com>2008-11-19 17:59:40 +0800
committerLuo Jinghua <sunmoon1997@gmail.com>2008-11-19 17:59:40 +0800
commitaa4959deb4c044dae839a8bc26f441abb844231b (patch)
tree66e49276be6d3ee947bdca1c39984b2cd996bb24 /examples
parent7776931c2a55b3041b711c6863c189f605941460 (diff)
examples: set streaming to true.
Diffstat (limited to 'examples')
-rw-r--r--examples/simple/simple.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simple/simple.cpp b/examples/simple/simple.cpp
index 7ccfaec..3a2bb72 100644
--- a/examples/simple/simple.cpp
+++ b/examples/simple/simple.cpp
@@ -46,7 +46,7 @@ int main(int argc, const char** argv) {
cerr << "opened device" << endl;
- OutputStreamPtr sound = OpenSound(device, argv[1]);
+ OutputStreamPtr sound = OpenSound(device, argv[1], true);
if (!sound) {
cerr << "OpenSound() failed" << endl;
return EXIT_FAILURE;