Skip to content

Commit

Permalink
Actually use the return value in initialize_with_format callback call.
Browse files Browse the repository at this point in the history
  • Loading branch information
padenot authored and kinetiknz committed Sep 26, 2023
1 parent f9c118d commit f1bfefb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/cubeb_opensl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -985,9 +985,7 @@ initialize_with_format(cubeb_stream * stm, cubeb_stream_params * params,
format_sample_rate = &pcm_format.samplesPerSec;
}

func(format, format_sample_rate, using_floats);

return CUBEB_OK;
return func(format, format_sample_rate, using_floats);
}

static int
Expand Down

0 comments on commit f1bfefb

Please sign in to comment.