projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
load files search box, avoid segv in get_prev_keyframe, fix titles only handles,...
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
audioodevice.C
diff --git
a/cinelerra-5.1/cinelerra/audioodevice.C
b/cinelerra-5.1/cinelerra/audioodevice.C
index 32be129670ee468ad7ae71408b4ba94ef667e7d8..2beb4c8c69de58570712671ca5afab572c782e92 100644
(file)
--- a/
cinelerra-5.1/cinelerra/audioodevice.C
+++ b/
cinelerra-5.1/cinelerra/audioodevice.C
@@
-154,10
+154,10
@@
int AudioDevice::arm_buffer(int buffer_num, double **data, int channels,
int k = och * bits / 8;
if( map51_2 ) {
int k = och * bits / 8;
if( map51_2 ) {
- double *
center = data[0
];
- double *
front = data[och+1
];
- double *
back = data[och+
3];
- double *
subwoof = data[5
];
+ double *
front = data[och
];
+ double *
center = data[2
];
+ double *
subwoof = data[
3];
+ double *
back = data[och+4
];
if( play_dither ) {
switch( bits ) {
case 8: for( int j=0; j<samples; ++j,k+=frame )
if( play_dither ) {
switch( bits ) {
case 8: for( int j=0; j<samples; ++j,k+=frame )