Mercurial > libdvdnav.hg
diff dvdnav.h @ 266:21ba13a7b77a src
Implement:
uint16_t dvdnav_audio_stream_to_format(dvdnav_t *self, uint8_t stream);
author | jcdutton |
---|---|
date | Thu, 14 Dec 2006 13:28:07 +0000 |
parents | 8c86b61eb06f |
children | 5256576e85cd |
line wrap: on
line diff
--- a/dvdnav.h Mon Oct 03 21:07:14 2005 +0000 +++ b/dvdnav.h Thu Dec 14 13:28:07 2006 +0000 @@ -70,6 +70,11 @@ #define DVDNAV_STATUS_ERR 0 #define DVDNAV_STATUS_OK 1 +#define DVDNAV_FORMAT_AC3 0 +#define DVDNAV_FORMAT_MPEGAUDIO 3 +#define DVDNAV_FORMAT_LPCM 4 +#define DVDNAV_FORMAT_DTS 5 +#define DVDNAV_FORMAT_SDDS 6 /********************************************************************* * initialisation & housekeeping functions * @@ -548,6 +553,12 @@ uint16_t dvdnav_audio_stream_to_lang(dvdnav_t *self, uint8_t stream); /* + * Returns the format of *logical* audio stream 'stream' + * (returns 0xffff if no such stream). + */ +uint16_t dvdnav_audio_stream_to_format(dvdnav_t *self, uint8_t stream); + +/* * Converts a *logical* subpicture stream id into country code * (returns 0xffff if no such stream). */