Logo Search packages:      
Sourcecode: vdr version File versions

const char ** cDevice::GetAudioTracksDevice ( int *  CurrentTrack = NULL  )  const [protected, virtual]

Returns a list of currently available audio tracks. The last entry in the list must be NULL. The number of entries does not necessarily have to be the same as returned by a previous call to NumAudioTracksDevice(). If CurrentTrack is given, it will be set to the index of the current track in the returned list. Note that the list must not be changed after it has been returned by a call to GetAudioTracksDevice()! The only time the list may change is *inside* the GetAudioTracksDevice() function. By default the return value is NULL and CurrentTrack, if given, will not have any meaning.

Reimplemented in cDvbDevice.

Definition at line 436 of file device.c.

Referenced by GetAudioTracks().

  return NULL;

Generated by  Doxygen 1.6.0   Back to index