[PATCH 0/8] ctl: elem-value: rewrite getter methods

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

 



alsa-project/alsa-gobject pull request #82 was opened from takaswie:

In UAPI of Linux sound subsystem, 'struct snd_ctl_elem_values' has
fixed-sized array. It's natural to retrieve the array as is.

This patchset rewrites getter methods of ALSACtl.ElemValue to retrieve pointer
to arrays in internal storage with annotation for fixed-sized array.

```
Takashi Sakamoto (8):
  ctl: elem-value: fix casting for byte data
  ctl: elem-value: retrieve fixed-sized array by getter method for boolean values
  ctl: elem-value: retrieve fixed-sized array by getter method for integer values
  ctl: elem-value: retrieve fixed-sized array by getter method for enumerated values
  ctl: elem-value: retrieve fixed-sized array by getter method for byte values
  ctl: elem-value: retrieve fixed-sized array by getter method for IEC 60958 values
  ctl: elem-value: retrieve fixed-sized array by getter method for integer 64 values
  update README about change of ALSACtl.ElemValue

 README.rst           |  2 +-
 src/ctl/elem-value.c | 55 ++++++++++++--------------------------------
 src/ctl/elem-value.h | 21 ++++++-----------
 3 files changed, 23 insertions(+), 55 deletions(-)
```

Request URL   : https://github.com/alsa-project/alsa-gobject/pull/82
Patch URL     : https://github.com/alsa-project/alsa-gobject/pull/82.patch
Repository URL: https://github.com/alsa-project/alsa-gobject



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux