Data Structures | |
| struct | bgav_device_info_t |
| Info structure for a device. More... | |
Functions | |
| bgav_device_info_t * | bgav_find_devices_vcd () |
| Scan for VCD capable devices. | |
| int | bgav_check_device_vcd (const char *device, char **name) |
| Test if a device is VCD capable. | |
| bgav_device_info_t * | bgav_find_devices_dvd () |
| Scan for DVD capable devices. | |
| int | bgav_check_device_dvd (const char *device, char **name) |
| Test if a device is DVD capable. | |
| bgav_device_info_t * | bgav_find_devices_dvb () |
| Scan for DVB capable devices. | |
| int | bgav_check_device_dvb (const char *device, char **name) |
| Test if a device is DVB capable. | |
| void | bgav_device_info_destroy (bgav_device_info_t *arr) |
| Destroy a device info array. | |
| int | bgav_eject_disc (const char *device) |
| Eject a disc. | |
| const char * | bgav_get_disc_name (bgav_t *bgav) |
| Get the name of a disc. | |
The input modules, which access special hardware devices (e.g. CD drives), have autoscanning functionality built in. You can call one of the bgav_find_devices_* functions to get a list of supported devices (see bgav_device_info_t). The created list must be freed with bgav_device_info_destroy when it's no longer used.
| bgav_device_info_t* bgav_find_devices_vcd | ( | ) |
Scan for VCD capable devices.
| int bgav_check_device_vcd | ( | const char * | device, | |
| char ** | name | |||
| ) |
Test if a device is VCD capable.
| device | The device node name | |
| name | Returns a human readable decription in a newly allocated string or NULL |
| bgav_device_info_t* bgav_find_devices_dvd | ( | ) |
Scan for DVD capable devices.
| int bgav_check_device_dvd | ( | const char * | device, | |
| char ** | name | |||
| ) |
Test if a device is DVD capable.
| device | The device node name | |
| name | Returns a human readable decription in a newly allocated string or NULL |
| bgav_device_info_t* bgav_find_devices_dvb | ( | ) |
Scan for DVB capable devices.
| int bgav_check_device_dvb | ( | const char * | device, | |
| char ** | name | |||
| ) |
Test if a device is DVB capable.
| device | The directory (e.g. /dev/dvb/adaptor0) | |
| name | Returns a human readable decription in a newly allocated string or NULL |
| void bgav_device_info_destroy | ( | bgav_device_info_t * | arr | ) |
Destroy a device info array.
| arr | A device info returned by bgav_find_devices_dvd, bgav_find_devices_dvb or bgav_find_devices_dvd |
| int bgav_eject_disc | ( | const char * | device | ) |
Eject a disc.
| device | Device name |
| const char* bgav_get_disc_name | ( | bgav_t * | bgav | ) |
Get the name of a disc.
| bgav | A decoder instance |
1.5.7