Chapter 5. DVB Audio Device

Table of Contents

5.1. Audio Data Types
5.1.1. audio_stream_source_t
5.1.2. audio_play_state_t
5.1.3. audio_channel_select_t
5.1.4. struct audio_status
5.1.5. struct audio_mixer
5.1.6. audio encodings
5.1.7. struct audio_karaoke
5.1.8. audio attributes
5.2. Audio Function Calls
5.2.1. open()
5.2.2. close()
5.2.3. write()
5.2.4. AUDIO_STOP
5.2.5. AUDIO_PLAY
5.2.6. AUDIO_PAUSE
5.2.7. AUDIO_SELECT_SOURCE
5.2.8. AUDIO_SET_MUTE
5.2.9. AUDIO_SET_AV_SYNC
5.2.10. AUDIO_SET_BYPASS_MODE
5.2.11. AUDIO_CHANNEL_SELECT
5.2.12. AUDIO_GET_STATUS
5.2.13. AUDIO_GET_CAPABILITIES
5.2.14. AUDIO_CLEAR_BUFFER
5.2.15. AUDIO_SET_ID
5.2.16. AUDIO_SET_MIXER
5.2.17. AUDIO_SET_STREAMTYPE
5.2.18. AUDIO_SET_EXT_ID
5.2.19. AUDIO_SET_ATTRIBUTES
5.2.20. AUDIO_SET_KARAOKE

The DVB audio device controls the MPEG2 audio decoder of the DVB hardware. It can be accessed through /dev/dvb/adapter0/audio0. Data types and and ioctl definitions can be accessed by including linux/dvb/video.h in your application.

Please note that some DVB cards don’t have their own MPEG decoder, which results in the omission of the audio and video device.