[PATCH 00/11] ctl: elem-value: rewrite getter methods

GitHub pull_request - opened github at alsa-project.org
Sat Jun 25 05:35:12 CEST 2022


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

This patchset rewrites getter methods of ALSACtl.ElemValue so that they just return
pointer of internal storage instead of copying to user buffer.

```
Takashi Sakamoto (11):
  timer: fix entry in exported symbol map
  ctl: elem-value: clear value field at setter method
  ctl: elem-value: rewrite getter for boolean values
  ctl: elem-value: rewrite getter for 32 bit signed integer values
  ctl: elem-value: rewrite getter for enumeration index values
  ctl: elem-value: rewrite getter for 8 bit unsigned integer values
  ctl: elem-value: rewrite getter for IEC 60958 channel status
  ctl: elem-value: rewrite getter for IEC 60958 user data
  ctl: elem-value: rewrite getter for 64 bit signed integer values
  ctl: elem-value: update class description
  update README with compatibility note

 README.rst              | 124 ++++++++++++++++++++++++++++++--
 samples/ctl             |  11 ++-
 src/ctl/alsactl.map     |  15 ++--
 src/ctl/elem-value.c    | 152 +++++++++++++++++++++-------------------
 src/ctl/elem-value.h    |  14 ++--
 src/timer/alsatimer.map |   3 +-
 6 files changed, 218 insertions(+), 101 deletions(-)
```

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


More information about the Alsa-devel mailing list