[PATCH 0/2] Helper functions for pa_direction_t

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I found pa_direction_valid() and pa_direction_to_string() useful in
the Tizen volume API work, and I thought they might make sense in
upstream too.

I found one place in the current code base where pa_direction_valid()
makes sense, but I didn't find any use for pa_direction_to_string() at
this time. Should I push both functions to upstream, or just
pa_direction_valid(), or neither? If I get no answers, I will push
both.

Tanu Kaskinen (2):
  direction: Add a couple of direction helper functions
  introspect: Use pa_direction_valid() to validate port direction

 src/Makefile.am        |  2 ++
 src/map-file           |  2 ++
 src/pulse/direction.c  | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 src/pulse/direction.h  | 37 +++++++++++++++++++++++++++++++++++++
 src/pulse/introspect.c |  6 +++---
 5 files changed, 90 insertions(+), 3 deletions(-)
 create mode 100644 src/pulse/direction.c
 create mode 100644 src/pulse/direction.h

-- 
1.8.3.1



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux