{
x = x2;
- add_subwindow(lohi = new AssetEditByteOrderLOHI(this,
- asset->byte_order, x, y));
- x += xS(70);
add_subwindow(hilo = new AssetEditByteOrderHILO(this,
!asset->byte_order, x, y));
+ x += xS(70);
+ add_subwindow(lohi = new AssetEditByteOrderLOHI(this,
+ asset->byte_order, x, y));
y += vmargin;
}
else {
//printf("FileFormat::create_objects_ 1 %d\n", asset->byte_order);
add_subwindow(new BC_Title(x, y, _("Byte order:")));
- add_subwindow(lohi = new FileFormatByteOrderLOHI(x2, y, this, asset->byte_order));
- add_subwindow(hilo = new FileFormatByteOrderHILO(x2 + 70, y, this, !asset->byte_order));
+ add_subwindow(hilo = new FileFormatByteOrderHILO(x2, y, this, !asset->byte_order));
+ add_subwindow(lohi = new FileFormatByteOrderLOHI(x2 + 70, y, this, asset->byte_order));
y += ys30;
add_subwindow(signed_button = new FileFormatSigned(x, y, this, asset->signed_));
--- /dev/null
+dvd pcm_dvd
+# works with 32, 44.1, 48 or 96Khz
--- /dev/null
+mp2 mp2
+b=384000
https://cinelerra-gg.org/download/CinelerraGG_Manual.pdf
http://g-raffa.eu/Cinelerra/HOWTO/basics.html
.
+2024 January changes of note:
+ X265 library has been updated to snapshot of 17-12-2023.
+ Libsndfile is now at version 1.2.2.
+ Libaom is updated to 3.8.0 but does not work on older O/S.
+ The Resources window info/details now shows sar/dar values.
+ Libsvtav1 is a buildable option for newer distros.
+ Color3way / Histogram now allow for greater than 1 values.
2023 November changes of note:
New build farm for Ubuntu, Debian, Suse, and Fedora at:
https://github.com/einhander/cin-gg-packages/releases
--- /dev/null
+--- a/libavcodec/pcm-dvdenc.c
++++ b/libavcodec/pcm-dvdenc.c
+@@ -38,6 +38,12 @@ static av_cold int pcm_dvd_encode_init(AVCodecContext *avctx)
+ int quant, freq, frame_size;
+
+ switch (avctx->sample_rate) {
++ case 32000:
++ freq = 3;
++ break;
++ case 44100:
++ freq = 2;
++ break;
+ case 48000:
+ freq = 0;
+ break;
+@@ -181,7 +187,7 @@ const FFCodec ff_pcm_dvd_encoder = {
+ .priv_data_size = sizeof(PCMDVDContext),
+ .init = pcm_dvd_encode_init,
+ FF_CODEC_ENCODE_CB(pcm_dvd_encode_frame),
+- .p.supported_samplerates = (const int[]) { 48000, 96000, 0},
++ .p.supported_samplerates = (const int[]) { 32000, 44100, 48000, 96000, 0},
+ CODEC_OLD_CHANNEL_LAYOUTS(AV_CH_LAYOUT_MONO, AV_CH_LAYOUT_STEREO,
+ AV_CH_LAYOUT_5POINT1, AV_CH_LAYOUT_7POINT1)
+ .p.ch_layouts = (const AVChannelLayout[]) { AV_CHANNEL_LAYOUT_MONO,
+--
+2.43.0
--- /dev/null
+Index: mplex/lpcmstrm_in.cpp
+===================================================================
+--- ./mplex/lpcmstrm_in.cpp (revision 3507)
++++ ./mplex/lpcmstrm_in.cpp (working copy)
+@@ -306,7 +306,15 @@
+ default : bps_code = 3; break;
+ }
+ dst[4] = starting_frame_index;
+- unsigned int bsf_code = (samples_per_second == 48000) ? 0 : 1;
++ unsigned int bsf_code;
++ switch(samples_per_second)
++ {
++ case 48000: bsf_code = 0; break;
++ case 96000: bsf_code = 1; break;
++ case 44100: bsf_code = 2; break;
++ case 32000: bsf_code = 3; break;
++ }
++ //unsigned int bsf_code = (samples_per_second == 48000) ? 0 : 1;
+ unsigned int channels_code = channels - 1;
+ dst[5] = (bps_code << 6) | (bsf_code << 4) | channels_code;
+ dst[6] = dynamic_range_code;
+Index: mplex/stream_params.cpp
+===================================================================
+--- ./mplex/stream_params.cpp (revision 3507)
++++ ./mplex/stream_params.cpp (working copy)
+@@ -46,7 +46,7 @@
+ unsigned int chans,
+ unsigned int bits )
+ {
+- if( samples != 48000 && samples != 96000 )
++ if( samples != 48000 && samples != 96000 && samples != 44100 && samples != 32000 )
+ return 0;
+ if( chans < 1 || chans > 7 )
+ return 0;