Taylor Holberton
15e6231a1b
Merge branch 'master' of https://github.com/tinyalsa/tinyalsa
1.1.0
2016-12-01 21:40:29 -08:00
Taylor Holberton
053a009cab
Merge branch 'develop'
...
This merges all the changes for the 1.1.0 release to the master branch.
2016-12-01 21:39:53 -08:00
Taylor Holberton
6860acb720
added changelog for version 1.1.0
2016-12-01 21:38:59 -08:00
Taylor Holberton
9df0309a78
added soversion with minor and patch number
2016-12-01 21:28:32 -08:00
Taylor Holberton
313c1d17f2
bumped version
2016-12-01 21:22:03 -08:00
Taylor Holberton
d1c98e4754
renamed parameter in doc
2016-12-01 21:21:49 -08:00
Taylor Holberton
ead42d87ff
bumped minor version
2016-12-01 21:20:06 -08:00
Taylor Holberton
d7b140a5d9
Using frame counts in pcm_readi and pcm_writei
...
pcm_readi and pcm_writei now use a frame count to specify the
buffer length instead of using a byte count.
2016-12-01 20:43:28 -08:00
Taylor Holberton
e0781f13a7
Replaced old calls to pcm_read and pcm_write
...
The newer pcm_readi and pcm_writei functions are now being used.
2016-12-01 20:27:41 -08:00
Taylor Holberton
f9834eef24
Added pcm_readi and pcm_writei functions
...
Added these functions to replace pcm_read and pcm_write, which don't return the number of frames actually transferred.
On GCC-like compilers, pcm_read and pcm_write have been marked as deprecated
On doxygen documentation, they have been marked as deprecated as well.
2016-12-01 20:25:41 -08:00
Taylor Holberton
77979a8855
Added format related getters for PCM
...
Added functions:
- pcm_get_channels
- pcm_get_rate
- pcm_get_format
These were added since they're required for iterating samples and frames.
2016-12-01 20:04:04 -08:00
Taylor Holberton
94c7c83c01
Added function, mixer_get_num_ctls_by_name
...
This function is used to get the number of mixer controls by a given name.
It was added for use with mixer_get_ctl_by_name_and_index so that client code
can expect the last valid index to pass.
2016-12-01 18:35:24 -08:00
Taylor Holberton
7dc7d83ed7
Merge branch 'const-correctness' into develop
...
This merge adds the changes made to the mixer API.
2016-12-01 18:24:44 -08:00
Taylor Holberton
a94295b6cf
Added mixer_get_ctl_const
...
This function was added to make available a mixer control accessor
in a function that does not modify its value.
2016-12-01 18:23:16 -08:00
Taylor Holberton
cac43a208d
Added const specifier for several mixer functions
...
Functions changed are:
- mixer_get_name
- mixer_get_num_ctls
- mixer_ctl_get_id
- mixer_ctl_get_name
- mixer_ctl_get_type
- mixer_ctl_get_type_string
- mixer_ctl_get_num_values
- mixer_ctl_get_num_enums
- mixer_ctl_get_enum_string
- mixer_ctl_get_percent
- mixer_ctl_get_value
- mixer_ctl_get_array
- mixer_ctl_get_range_min
- mixer_ctl_get_range_max
2016-12-01 18:11:24 -08:00
Taylor Holberton
f3d6c67db4
Merge branch 'const-correctness' into develop
...
Added const specifiers to all applicable functions in the PCM API.
2016-12-01 17:53:08 -08:00
Taylor Holberton
147d7adec6
Added const specifier in several functions
...
pcm_get_file_descriptor
pcm_get_error
pcm_get_buffer_size
pcm_frames_to_bytes
pcm_bytes_to_frames
pcm_get_subdevice
2016-12-01 17:50:31 -08:00
Taylor Holberton
15d58481e7
added const specifier in function, pcm_is_ready
2016-12-01 17:46:29 -08:00
Taylor Holberton
94803b0055
Added const specifier in pcm_open
...
Added const specifier to the struct pcm_config argument.
Changed the way default values of the config structure are set and accessed.
They're accessed through the pointer from the argument list and set through the pointer in the pcm structure.
2016-12-01 16:07:14 -08:00
Taylor Holberton
ba285cfbf4
Added const specifier in pcm_open
...
The const specifier was added to the struct pcm_config argument.
2016-12-01 16:06:29 -08:00
Taylor Holberton
319a848451
Added const specifier to mask
...
The changed was brought on by to early commits to the PCM API.
2016-12-01 15:59:17 -08:00
Taylor Holberton
2f387d2aa1
Added const specifier in several functions
...
Functions changed are:
- pcm_params_get_mask
- pcm_params_get_min
- pcm_params_get_max
- param_get_mask
- param_get_min
- param_get_max
2016-12-01 15:58:16 -08:00
Taylor Holberton
5b9db5b888
Added const specifier to params functions
...
Funtions changed are:
- pcm_params_get_mask
- pcm_params_get_min
- pcm_params_get_max
2016-12-01 15:57:09 -08:00
Taylor Holberton
f873b521ca
Added Travis CI badge
2016-11-29 11:47:27 -08:00
Taylor Holberton
f42051ce4d
Merge pull request #88 from dawagner/fix-includes-install-path
...
Fix install path of include files
2016-11-24 12:13:58 -05:00
David Wagner
bd7ce64996
Fix install path of include files
...
They were installed under $prefix/ instead of $prefix/tinyalsa/
Signed-off-by: David Wagner <david.wagner@intel.com >
2016-11-24 17:20:35 +01:00
Taylor Holberton
ad4d7d706c
added mixer ctl member documentation
2016-11-23 13:34:18 -08:00
Taylor Holberton
d265c27dc2
added parameter doc
2016-11-23 13:22:56 -08:00
Taylor Holberton
da1bc31c9c
fixed function reference in doc
2016-11-23 13:18:34 -08:00
Taylor Holberton
17a102424c
added some documentation
2016-11-23 13:18:24 -08:00
Taylor Holberton
1aad83d6ac
Merge branch 'master' of https://github.com/tinyalsa/tinyalsa
2016-11-23 11:48:37 -08:00
Taylor Holberton
4e55719a08
finished mixer API documentation
2016-11-23 11:48:06 -08:00
Taylor Holberton
eb54eabdde
added missing asterisk for doc
2016-11-23 10:56:24 -08:00
Taylor Holberton
6f030915cf
updated names of library man pages
2016-11-23 10:47:09 -08:00
Taylor Holberton
7bbcb313f4
Merge pull request #87 from dawagner/travis-make-install
...
Travis: test the 'make install' target
2016-11-23 13:19:10 -05:00
David Wagner
22c43513f5
Travis: test the 'make install' target
...
Signed-off-by: David Wagner <david.wagner@intel.com >
2016-11-23 10:22:02 +01:00
Taylor Holberton
dbbce9a502
removed override directive
2016-11-22 10:29:06 -08:00
Taylor Holberton
72e442233b
corrected error handling in pcm_sync_ptr()
2016-11-22 09:54:47 -08:00
Taylor Holberton
b090568202
using install command instead of cp and mkdir
2016-11-22 09:49:47 -08:00
Taylor Holberton
f5f3250796
Merge pull request #86 from dawagner/fix-doxygen-install
...
Fix the installation of manpages
2016-11-22 09:34:39 -08:00
Taylor Holberton
d5a8849d4e
Merge pull request #85 from dawagner/travis
...
Add a Travis CI configuration file
2016-11-22 09:30:44 -08:00
David Wagner
8da2916570
Fix the installation of manpages
...
The name of man pages was incorrect. Also, using the coreutils'
"install" command makes sense when installing files.
Signed-off-by: David Wagner <david.wagner@intel.com >
2016-11-22 14:54:14 +01:00
David Wagner
96f9e43095
Add a Travis CI configuration file
...
See https://docs.travis-ci.com/
Signed-off-by: David Wagner <david.wagner@intel.com >
2016-11-22 13:59:35 +01:00
Taylor Holberton
38298e6c56
updated references
2016-11-19 23:45:07 -05:00
Taylor Holberton
b7a28579d2
added some documentation
2016-11-19 23:45:00 -05:00
Taylor Holberton
888bc69f97
make tinymix command oriented, based on amixer
2016-11-19 19:46:50 -05:00
Taylor Holberton
474ab24467
added tinyalsa version header
2016-11-19 10:41:31 -08:00
Taylor Holberton
8ae5d11be5
renamed doxygen group, tinyalsa-mixer to libtinyalsa-mixer
2016-11-19 10:35:25 -08:00
Taylor Holberton
8e1b1029b2
renamed doxygen group, tinyalsa-pcm to libtinyalsa-pcm
2016-11-19 10:34:50 -08:00
Taylor Holberton
1f29de96f3
origanized and added some documentation
2016-11-19 10:33:50 -08:00