Skip to content

Commit

Permalink
stop hardcoding the decode sample rate
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramesh authored and Ramesh committed Nov 29, 2021
1 parent be315df commit a48e7de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mqa-files/mqaplay_ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,9 @@ int main(int argc, char **argv) {

// END MQA RENDER SETUP

bluos_api =
ssc_decode_open(&sscd, channels, rate1, bits, 96000, get_samples, consume,
write_samples, write_size, &outfile, options);
bluos_api = ssc_decode_open(
&sscd, channels, rate1, bits, ipc_com->audio_info.samplerate * 2,
get_samples, consume, write_samples, write_size, &outfile, options);

if (bluos_api < 0)
return 1;
Expand Down

0 comments on commit a48e7de

Please sign in to comment.