0324-Revert-rpi-update-vc_vchi_audioserv_defs.h.patch 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. From f4187433a0b4592ae6df10d9080aec70270ad147 Mon Sep 17 00:00:00 2001
  2. From: popcornmix <popcornmix@gmail.com>
  3. Date: Fri, 6 May 2016 17:18:57 +0100
  4. Subject: [PATCH 324/381] Revert "rpi: update vc_vchi_audioserv_defs.h"
  5. This reverts commit 64fa9f963dffab0145f7960a593422064bb0aa8d.
  6. ---
  7. sound/arm/vc_vchi_audioserv_defs.h | 13 ++-----------
  8. 1 file changed, 2 insertions(+), 11 deletions(-)
  9. --- a/sound/arm/vc_vchi_audioserv_defs.h
  10. +++ b/sound/arm/vc_vchi_audioserv_defs.h
  11. @@ -16,7 +16,7 @@
  12. #define _VC_AUDIO_DEFS_H_
  13. #define VC_AUDIOSERV_MIN_VER 1
  14. -#define VC_AUDIOSERV_VER 3
  15. +#define VC_AUDIOSERV_VER 2
  16. // FourCC code used for VCHI connection
  17. #define VC_AUDIO_SERVER_NAME MAKE_FOURCC("AUDS")
  18. @@ -36,7 +36,6 @@ typedef enum {
  19. VC_AUDIO_MSG_TYPE_START, // Configure audio
  20. VC_AUDIO_MSG_TYPE_STOP, // Configure audio
  21. VC_AUDIO_MSG_TYPE_WRITE, // Configure audio
  22. - VC_AUDIO_MSG_TYPE_LATENCY, // request latency in cycles
  23. VC_AUDIO_MSG_TYPE_MAX
  24. } VC_AUDIO_MSG_TYPE;
  25. @@ -45,7 +44,6 @@ typedef struct {
  26. uint32_t channels;
  27. uint32_t samplerate;
  28. uint32_t bps;
  29. - uint32_t channelmap;
  30. } VC_AUDIO_CONFIG_T;
  31. @@ -86,12 +84,6 @@ typedef struct {
  32. uint16_t max_packet;
  33. } VC_AUDIO_WRITE_T;
  34. -// query latency in samples of sink
  35. -typedef struct
  36. -{
  37. - uint32_t dummy;
  38. -} VC_AUDIO_LATENCY_T;
  39. -
  40. // Generic result for a request (VC->HOST)
  41. typedef struct {
  42. int32_t success; // Success value
  43. @@ -116,10 +108,9 @@ typedef struct {
  44. VC_AUDIO_START_T start;
  45. VC_AUDIO_STOP_T stop;
  46. VC_AUDIO_WRITE_T write;
  47. - VC_AUDIO_LATENCY_T latency;
  48. VC_AUDIO_RESULT_T result;
  49. VC_AUDIO_COMPLETE_T complete;
  50. } u;
  51. } VC_AUDIO_MSG_T;
  52. -#endif // _VC_AUDIO_DEFS_H_
  53. \ No newline at end of file
  54. +#endif // _VC_AUDIO_DEFS_H_