-
Notifications
You must be signed in to change notification settings - Fork 15
ref_iface_IVDXInputFile_GetAudioSource
VirtualDub Plugin SDK 1.2
IVDXInputFile interface
Opens a stream on an input file.
bool GetAudioSource(int index, IVDXAudioSource **ppAS);
index | Index of stream to open, where zero is the first stream, if any. Stream numbers must be contiguous. |
ppAS | Pointer to variable to receive audio source for the stream. |
This method is not thread-safe.
Errors may not be returned from this function (see SetError()).
True if successful, false if the stream with the given index does not exist.
The audio stream object should have an outstanding reference on it.
VirtualDub will call IVDXUnknown::Release()
for this reference when it
is finished with the object.
It is allowed to open an audio stream more than once; the returned audio source objects must be independent.
Copyright (C) 2007-2012 Avery Lee.
Setting up your development environment
Conventions
Plugin initialization
Dynamic loading
Reference counting
Using CPU extensions
Introduction
What's new
Breaking changes
Gotchas
Deprecated features
Migrating from the old Filter SDK
Programming model
Handling bitmaps
Creating a video filter
Setting filter parameters
Processing video frames
Managing filter data
Creating time-varying filters
Handling aspect ratio
Prefetching multiple source frames
Handling multiple sources
Making a filter configurable
Scripting support
CPU dependent optimization
VDXA index omitted
Getting started
Writing the module entry point
Creating a video filter
Adding configurability
Adding script support
Introduction
What's new
Autodetect
Direct mode
Video frames vs. samples
Video decodint model
Video decoder