Hi Andrew!
I think it was right as before. If understand well, that max number of
channels is 6 because 5.1 (=6) channel surround (home theatre system).
There is also 7.1 channel surround but I think it is so extreme.
https://www.crutchfield.com/S-fh0nbRGnCAa/learn/learningcenter/home/hometheater_surround.html
IgorBeg
Il 19/11/2020 03:07, Andrew Randrianasulu via Cin ha scritto:
so I used it for max number of channels for auto-created project (was just 6):
diff --git a/cinelerra-5.1/cinelerra/mwindow.C
b/cinelerra-5.1/cinelerra/mwindow.C
index f245018a..690c7ef8 100644
--- a/cinelerra-5.1/cinelerra/mwindow.C
+++ b/cinelerra-5.1/cinelerra/mwindow.C
@@ -5088,7 +5107,7 @@ int MWindow::select_asset(Asset *asset, int vstream, int
astream, int delete_tra
int channels = 0;
for( uint64_t mask=channel_mask; mask!=0; mask>>=1 ) channels +=
mask& 1;
if( channels< 1 ) channels = 1;
- if( channels> 6 ) channels = 6;
+ if( channels> MAXCHANNELS ) channels = MAXCHANNELS;
session->audio_tracks = session->audio_channels = channels;
--
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin