From b99d79b4d2ed1c1ef5063edc9b4decef5a9f9624 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 15 Jul 2009 05:12:45 -0700 Subject: [PATCH] Minor syntax cleanup for readability --- src/core/audio/audio_file_wave.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/audio/audio_file_wave.cpp b/src/core/audio/audio_file_wave.cpp index ed97ce567..84c25c3ac 100644 --- a/src/core/audio/audio_file_wave.cpp +++ b/src/core/audio/audio_file_wave.cpp @@ -89,11 +89,11 @@ void audioFileWave::writeBuffer( const surroundSampleFrame * _ab, { if( depth() == 16 ) { - intSampleFrameA * buf = (intSampleFrameA *) - alignedMalloc( - sizeof( intSampleFrameA ) * _frames ); + intSampleFrameA * buf = (intSampleFrameA *) alignedMalloc( + sizeof( intSampleFrameA ) * _frames ); + alignedConvertToS16( _ab, buf, _frames, _master_gain, - !isLittleEndian() ); + !isLittleEndian() ); sf_writef_short( m_sf, (int_sample_t *) buf, _frames ); alignedFree( buf );