The patch number 10589 was added via mocm
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        Linux Media Mailing List <linux-me...@vger.kernel.org>

------

corrections to audio_set_id documentation


---

 dvb-spec/dvbapi/audio.tex |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff -r 7042a4846b1b -r ccf9e44287e3 dvb-spec/dvbapi/audio.tex
--- a/dvb-spec/dvbapi/audio.tex Thu Feb 14 08:51:00 2002 -0200
+++ b/dvb-spec/dvbapi/audio.tex Fri Feb 15 08:17:18 2002 -0200
@@ -354,7 +354,12 @@ typedef uint16_t audioAttributes_t;
 \ifunction{AUDIO\_SET\_ID}{
   int ioctl(int fd, int request = AUDIO\_SET\_ID, int id);}{
   This ioctl selects which sub-stream is to be decoded if a program or
-  system stream is sent to the video device.
+  system stream is sent to the video device. If no audio stream type is set
+  the id has to be in [0xC0,0xDF] for MPEG sound, in [0x80,0x87] for
+  AC3 and in [0xA0,0xA7] for LPCM. More specifications may follow
+  for other stream types. If the stream type is set the id just
+  specifies the substream id of the audio stream and only the first 5
+  bits are recognized.
   }{
   int fd & File descriptor returned by a previous call to open().\\
   int request & Equals AUDIO\_SET\_ID for this command.\\
@@ -382,7 +387,7 @@ typedef uint16_t audioAttributes_t;
   int ioctl(fd, int request = AUDIO\_SET\_STREAMTYPE, int type);}{
   This ioctl tells the driver which kind of audio stream to expect.
   This is useful if the stream offers several audio sub-streams 
-  like MPEG2 audio and AC3.
+  like LPCM and AC3.
   }{
   int fd      & File descriptor returned by a previous call to open().\\
   int request & Equals AUDIO\_SET\_STREAMTYPE for this command.\\
@@ -395,7 +400,8 @@ typedef uint16_t audioAttributes_t;
 
 \ifunction{AUDIO\_SET\_EXT\_ID}{
   int ioctl(fd, int request = AUDIO\_SET\_EXT\_ID, int id);}{
-  This ioctl can be used to set the audio sub\_stream\_id for DVD playback
+  This ioctl can be used to set the extension id for MPEG streams in 
+  DVD playback. Only the first 3 bits are recognized. 
   }{
   int fd      & File descriptor returned by a previous call to open().\\
   int request & Equals AUDIO\_SET\_EXT\_ID for this command.\\


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/ccf9e44287e37bf30c16019016d961846e99ee4c

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to