Changeset 88fbf5360379cf7546c6f9b56bdb791c6f6cad28

Show
Ignore:
Timestamp:
08/24/06 21:50:23 (2 years ago)
Author:
Jean-Paul Saman <jpsaman@videolan.org>
git-committer:
Jean-Paul Saman <jpsaman@videolan.org> 1156449023 +0000
git-parent:

[b531cabe0c65fa2acc6a2b9b3bd5f8d279abac08]

git-author:
Jean-Paul Saman <jpsaman@videolan.org> 1156449023 +0000
Message:

Fake the mono stream by duplicating it in both channels

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/audio_filter/converter/mono.c

    r0c0c679 r88fbf53  
    263263    { 
    264264        /* Fake real mono. */ 
    265         p_out[n] = (p_in[n] + p_in[n+1]) >> 1; 
     265        p_out[n] = p_out[n+1] = (p_in[n] + p_in[n+1]) >> 1; 
    266266        n++; 
    267267    }