Permalink
Browse files

[cosmetics] - fix whitespaces

  • Loading branch information...
1 parent c79d1ef commit 12257fbc6d986b1c56d77b21d58647786a3c95d0 @Memphiz Memphiz committed Jul 31, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioAEStream.cpp
@@ -402,7 +402,7 @@ unsigned int CCoreAudioAEStream::AddData(void *data, unsigned int size)
adddata = (uint8_t *)m_remapBuffer;
channelsInBuffer = m_OutputFormat.m_channelLayout.Count();
}
-
+
// upmix the ouput to output channels
if ( (!m_isRaw || m_rawDataFormat == AE_FMT_LPCM) && (m_chLayoutCountOutput > channelsInBuffer) )
{
@@ -453,11 +453,11 @@ unsigned int CCoreAudioAEStream::GetFrames(uint8_t *buffer, unsigned int size)
if (!m_isRaw)
{
float *floatBuffer = (float *)buffer;
- unsigned int samples = readsize / m_OutputBytesPerSample;
+ unsigned int samples = readsize / m_OutputBytesPerSample;
// we have a frame, if we have a viz we need to hand the data to it.
- // Keep in mind that our buffer is already in output format.
- // So we remap output format to viz format !!!
+ // Keep in mind that our buffer is already in output format.
+ // So we remap output format to viz format !!!
if (m_OutputFormat.m_dataFormat == AE_FMT_FLOAT)
{
// TODO : Why the hell is vizdata limited ?
@@ -751,7 +751,7 @@ OSStatus CCoreAudioAEStream::OnRender(AudioUnitRenderActionFlags *ioActionFlags,
if (!m_valid || m_delete || !m_Buffer || m_firstInput || m_paused)
{
for (UInt32 i = 0; i < ioData->mNumberBuffers; i++)
- bzero(ioData->mBuffers[i].mData, ioData->mBuffers[i].mDataByteSize);
+ bzero(ioData->mBuffers[i].mData, ioData->mBuffers[i].mDataByteSize);
if (ioActionFlags)
*ioActionFlags |= kAudioUnitRenderAction_OutputIsSilence;
m_firstInput = false;

0 comments on commit 12257fb

Please sign in to comment.