SuccessChanges

Summary

  1. mlv_snd: experiment: remove vsync dependency, just sync through the mlv_lite CBR and start audio there
  2. mlv_snd: fix adding to mlv_rec/mlv_lite submenu if the raw video option is turned off (properly check if either menu is present)
  3. mlv_snd: moved the menu inside the mlv_rec/mlv_lite submenu; fine-tuned the submenu (formatting)
  4. mlv_snd: enabled by default, www.magiclantern.fm/forum/index.php?topic=12793
  5. mlv_rec: reordered callbacks
  6. mlv_snd: fine tuned audio delay
  7. mlv_lite: removed old callbacks raw_rec_cbr_*
  8. mlv_rec: remove old interface raw_rec_cbr_starting()
  9. mlv_lite: add MLV_REC_EVENT_PREPARING to be called before recording is going to start
  10. mlv_rec: add MLV_REC_EVENT_PREPARING to be called before recording is going to start
  11. mlv_snd: changed menu name for audio sync. feature might get removed when it is not needed at all.
  12. mlv_snd: inverse delay logic so it can be interpreted as in the timeline. also set to 1 lets see if this is correct for all setups
  13. mlv_snd: cleaned up merge artifacts
  14. mlv_snd: made mlv_rec_queue_block optional - reduces the execution time of raw_rec_cbr_started in the vsync hook - fixes memory leak (mlv_snd expects mlv_rec to free queued blocks)
  15. mlv_snd: reworked to achieve better sync with mlv_lite: - sound buffer allocation is done in raw_rec_cbr_starting (which must now be called after video memory allocation) - raw_rec_cbr_started may optionally be called from the vsync hook (which runs from a task with very high priority) mlv_lite: call raw_rec_cbr_started from the vsync hook, on first frame - result: first audio frame is started ~ 2ms after the first video frame is fully captured mlv_rec: moved raw_rec_cbr_starting after memory allocation - required for mlv_snd to complete the audio memory allocation
  16. mlv_snd: rather than trying to queue a WAVI block into the MLV recorder, provide a mlv_fill_wavi this way, the MLV recording module can place this block wherever it wants (not necessarily in the queue) previous method still kept for compatibility with mlv_rec mlv_lite: refactored with mlv_fill_wavi and moved raw_rec_cbr_started right before the recording loop (where it should be) this should fix audio sync issues when recording starts; not tested
  17. mlv_lite: moved started cbr into process_frame like in 7fcd177 to help with audio sync
  18. mlv_snd: take care of AUDF count writing. there are still cases where the number of frames per chunk is incorrect. the sum is correct.
  19. mlv_lite: call callbacks earlier to be able to hook into MLVI writing
  20. mlv_lite: cast file_hdr to prevent warnings
  21. mlv_lite: call registered modules on header updates
  22. mlv_lite: only count VIDF blocks in chunk headers, do not count meta data
Changeset 15144:9572fdf36c95 by g3gg0:
mlv_snd: experiment: remove vsync dependency, just sync through the mlv_lite CBR and start audio there
The file was modifiedmodules/mlv_lite/mlv_lite.c (diff)
The file was modifiedmodules/mlv_snd/mlv_snd.c (diff)
Changeset 15143:e24bd556b1bd by alex@thinkpad:
mlv_snd: fix adding to mlv_rec/mlv_lite submenu if the raw video option is turned off<br>(properly check if either menu is present)
The file was modifiedmodules/mlv_snd/mlv_snd.c (diff)
Changeset 15142:e10c7af65495 by alex@thinkpad:
mlv_snd: moved the menu inside the mlv_rec/mlv_lite submenu;<br>fine-tuned the submenu (formatting)
The file was modifiedmodules/mlv_snd/mlv_snd.c (diff)
Changeset 15141:82805de3a653 by Alex:
mlv_snd: enabled by default, www.magiclantern.fm/forum/index.php?topic=12793
The file was modifiedmodules/mlv_snd/mlv_snd.c (diff)
Changeset 15140:45165da49ce6 by g3gg0:
mlv_rec: reordered callbacks
The file was modifiedmodules/mlv_rec/mlv_rec.c (diff)
Changeset 15139:22e74337ca21 by g3gg0:
mlv_snd: fine tuned audio delay
The file was modifiedmodules/mlv_snd/mlv_snd.c (diff)
Changeset 15138:6565d894d71d by g3gg0:
mlv_lite: removed old callbacks raw_rec_cbr_*
The file was modifiedmodules/mlv_lite/mlv_lite.c (diff)
Changeset 15137:d6347390889a by g3gg0:
mlv_rec: remove old interface raw_rec_cbr_starting()
The file was modifiedmodules/mlv_rec/mlv_rec.c (diff)
Changeset 15136:57c95839e440 by g3gg0:
mlv_lite: add MLV_REC_EVENT_PREPARING to be called before recording is going to start
The file was modifiedmodules/mlv_lite/mlv_lite.c (diff)
Changeset 15135:1acdda80eb59 by g3gg0:
mlv_rec: add MLV_REC_EVENT_PREPARING to be called before recording is going to start
The file was modifiedmodules/mlv_rec/mlv_rec.c (diff)
The file was modifiedmodules/mlv_rec/mlv_rec_interface.h (diff)
Changeset 15134:0aa155b1e561 by g3gg0:
mlv_snd: changed menu name for audio sync. feature might get removed when it is not needed at all.
The file was modifiedmodules/mlv_snd/mlv_snd.c (diff)
Changeset 15133:2a9559beec43 by g3gg0:
mlv_snd: inverse delay logic so it can be interpreted as in the timeline. also set to 1 lets see if this is correct for all setups
The file was modifiedmodules/mlv_snd/mlv_snd.c (diff)
Changeset 15132:ca3b048e0996 by g3gg0:
mlv_snd: cleaned up merge artifacts
The file was modifiedmodules/mlv_lite/mlv_lite.c (diff)
The file was modifiedmodules/mlv_snd/mlv_snd.c (diff)
Changeset 15131:856f05a0e3c8 by alex@thinkpad:
mlv_snd: made mlv_rec_queue_block optional<br>- reduces the execution time of raw_rec_cbr_started in the vsync hook<br>- fixes memory leak (mlv_snd expects mlv_rec to free queued blocks)
The file was modifiedmodules/mlv_lite/mlv_lite.c (diff)
The file was modifiedmodules/mlv_snd/mlv_snd.c (diff)
Changeset 15130:dd82b6a3a711 by alex@thinkpad:
mlv_snd: reworked to achieve better sync with mlv_lite:<br>- sound buffer allocation is done in raw_rec_cbr_starting (which must now be called after video memory allocation)<br>- raw_rec_cbr_started may optionally be called from the vsync hook (which runs from a task with very high priority)<br><br>mlv_lite: call raw_rec_cbr_started from the vsync hook, on first frame<br>- result: first audio frame is started ~ 2ms after the first video frame is fully captured<br><br>mlv_rec: moved raw_rec_cbr_starting after memory allocation<br>- required for mlv_snd to complete the audio memory allocation
The file was modifiedmodules/mlv_lite/mlv_lite.c (diff)
The file was modifiedmodules/mlv_rec/mlv_rec.c (diff)
The file was modifiedmodules/mlv_snd/mlv_snd.c (diff)
Changeset 15129:ea890a65a226 by alex@thinkpad:
mlv_snd: rather than trying to queue a WAVI block into the MLV recorder, provide a mlv_fill_wavi<br>this way, the MLV recording module can place this block wherever it wants (not necessarily in the queue)<br>previous method still kept for compatibility with mlv_rec<br><br>mlv_lite: refactored with mlv_fill_wavi and moved raw_rec_cbr_started right before the recording loop (where it should be)<br>this should fix audio sync issues when recording starts; not tested
The file was modifiedmodules/mlv_lite/mlv_lite.c (diff)
The file was modifiedmodules/mlv_rec/mlv.h (diff)
The file was modifiedmodules/mlv_snd/mlv_snd.c (diff)
Changeset 15128:d87a804a4fc1 by g3gg0:
mlv_lite: moved started cbr into process_frame like in 7fcd177 to help with audio sync
The file was modifiedmodules/mlv_lite/mlv_lite.c (diff)
Changeset 15127:256ced3ed8c9 by g3gg0:
mlv_snd: take care of AUDF count writing. there are still cases where the number of frames per chunk is incorrect. the sum is correct.
The file was modifiedmodules/mlv_snd/mlv_snd.c (diff)
Changeset 15126:4ea752e78787 by g3gg0:
mlv_lite: call callbacks earlier to be able to hook into MLVI writing
The file was modifiedmodules/mlv_lite/mlv_lite.c (diff)
Changeset 15125:b667d253057c by g3gg0:
mlv_lite: cast file_hdr to prevent warnings
The file was modifiedmodules/mlv_lite/mlv_lite.c (diff)
Changeset 15124:dc8dbc1f3c84 by g3gg0:
mlv_lite: call registered modules on header updates
The file was modifiedmodules/mlv_lite/mlv_lite.c (diff)
Changeset 15123:71121258014c by g3gg0:
mlv_lite: only count VIDF blocks in chunk headers, do not count meta data
The file was modifiedmodules/mlv_lite/mlv_lite.c (diff)