diff options
author | Bryce Van Dyk <[email protected]> | 2017-11-27 13:37:58 -0500 |
---|---|---|
committer | Matthew Gregan <[email protected]> | 2017-11-28 15:40:36 +1300 |
commit | 98c535b92dde172c273ce30e2c6255e691688cec (patch) | |
tree | 6811a5fd217074d6e4c0455b1580a0f2de5dfdcf /include | |
parent | 8a0a30091cd7a7c71042f9dd25ba851ac3964466 (diff) | |
download | cubeb-98c535b92dde172c273ce30e2c6255e691688cec.tar.gz cubeb-98c535b92dde172c273ce30e2c6255e691688cec.zip |
Update header sample code to rename several instances of output_params -> input_params.
The sample code in the header looks to have a few instances where
'output_params' is used where 'input_params' looks intended. This renames
those cases.
Diffstat (limited to 'include')
-rw-r--r-- | include/cubeb/cubeb.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/cubeb/cubeb.h b/include/cubeb/cubeb.h index 9b091e8..59e809b 100644 --- a/include/cubeb/cubeb.h +++ b/include/cubeb/cubeb.h @@ -55,9 +55,9 @@ extern "C" { output_params.channels = 2; cubeb_stream_params input_params; - output_params.format = CUBEB_SAMPLE_FLOAT32NE; - output_params.rate = rate; - output_params.channels = 1; + input_params.format = CUBEB_SAMPLE_FLOAT32NE; + input_params.rate = rate; + input_params.channels = 1; cubeb_stream * stm; rv = cubeb_stream_init(app_ctx, &stm, "Example Stream 1", |