VirtualBox

Changeset 96178 in vbox


Ignore:
Timestamp:
Aug 12, 2022 2:35:52 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
152986
Message:

Recording: Implemented support for Vorbis codec (provided by libvorbis, not enabled by default yet). This also makes all the codec handling more abstract by using a simple codec wrapper, to keep other places free from codec-specific as much as possible. Initial implementation works and output files are being recognized by media players, but there still are some timing bugs to resolve, as well as optimizing the performance [build fix]. bugref:10275

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/RecordingInternals.h

    r96177 r96178  
    2727#include <iprt/types.h> /* drag in stdint.h before vpx does it. */
    2828
     29#include "VBox/com/string.h"
    2930#include "VBox/com/VirtualBox.h"
    3031#include "VBox/settings.h"
     
    113114     * @param   strOptions          Options string to parse.
    114115     */
    115     DECLCALLBACKMEMBER(int, pfnParseOptions, (PRECORDINGCODEC pCodec, const Utf8Str &strOptions));
     116    DECLCALLBACKMEMBER(int, pfnParseOptions, (PRECORDINGCODEC pCodec, const com::Utf8Str &strOptions));
    116117
    117118    /**
  • trunk/src/VBox/Main/src-client/RecordingStream.cpp

    r96175 r96178  
    935935
    936936/* static */
    937 int RecordingStream::codecWriteDataCallback(PRECORDINGCODEC pCodec, const void *pvData, size_t cbData, void *pvUser)
     937DECLCALLBACK(int) RecordingStream::codecWriteDataCallback(PRECORDINGCODEC pCodec, const void *pvData, size_t cbData, void *pvUser)
    938938{
    939939    RT_NOREF(pCodec);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette