quirks.h 682 B

123456789101112131415161718192021222324
  1. #ifndef __USBAUDIO_QUIRKS_H
  2. #define __USBAUDIO_QUIRKS_H
  3. int snd_usb_create_quirk(struct snd_usb_audio *chip,
  4. struct usb_interface *iface,
  5. struct usb_driver *driver,
  6. const struct snd_usb_audio_quirk *quirk);
  7. int snd_usb_apply_interface_quirk(struct snd_usb_audio *chip,
  8. int iface,
  9. int altno);
  10. int snd_usb_apply_boot_quirk(struct usb_device *dev,
  11. struct usb_interface *intf,
  12. const struct snd_usb_audio_quirk *quirk);
  13. void snd_usb_set_format_quirk(struct snd_usb_substream *subs,
  14. struct audioformat *fmt);
  15. int snd_usb_is_big_endian_format(struct snd_usb_audio *chip,
  16. struct audioformat *fp);
  17. #endif /* __USBAUDIO_QUIRKS_H */