Skip to content

Commit

Permalink
The always forgotten scons fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Hrick87 committed Feb 29, 2024
1 parent 4d8c918 commit e454729
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

#define FORMAT_COUNT \
2 // Number of major formats that don't allow for 32 bits;
#define FORMAT_COUNT 2 // Number of major formats that don't allow for 32 bits;
#define BUFFER_SIZE 512

#include "roc_sndio/sndfile_sink.h"
Expand Down Expand Up @@ -151,7 +150,8 @@ SndfileSink::SndfileSink(core::IArena& arena, const Config& config)
}

memset(&file_info_, 0, sizeof(file_info_));
//file_info_.format = (int)config.sample_spec.pcm_format(); this needs to be converted to corresponding enum of sndfile somehow
// file_info_.format = (int)config.sample_spec.pcm_format(); this needs to be
// converted to corresponding enum of sndfile somehow
file_info_.format = SF_FORMAT_PCM_32;
file_info_.channels = (int)config.sample_spec.num_channels();
file_info_.samplerate = (int)config.sample_spec.sample_rate();
Expand Down

0 comments on commit e454729

Please sign in to comment.