Image | Audio | Video |
---|---|---|
X | X |
Returns the number of audio tracks in a video or MIDI audio.
Include file
Syntax
>>-NumAudioTracks--(--handle--)--------------------------------><
Parameters (data type)
Return values (data type)
Number of audio tracks in the video or MIDI audio (SMALLINT). Returns a null value for audio in other formats.
Examples
Get the names of any video files from the video column of the employee table that do not contain any audio tracks:
EXEC SQL BEGIN DECLARE SECTION; char hvVid_fname[251]; EXEC SQL END DECLARE SECTION; EXEC SQL SELECT FILENAME(VIDEO) INTO :hvVid_fname FROM EMPLOYEE WHERE NUMAUDIOTRACKS(VIDEO) = 0;