Age | Commit message (Collapse) | Author |
|
|
|
Added an example of pcm_writei usage and an example of pcm_readi
usage. Both examples use a common file called 'audio.raw'.
|
|
Added ignore patterns for files in the new 'examples' directory.
The file 'audio.raw' is generated by running pcm-writei.
|
|
It was added because bionic didn't have a copy of the file in 2011.
But, it was finally added in 2013 and update since.
There is no longer a need for this file.
|
|
mixer: add ability to update control list with new controls
|
|
New controls could appear during runtime, for example if a
new firmware is downloaded to a DSP. Since ALSA drivers are
not supposed to delete or renumber existing controls we can
assume that any new controls will be after any controls we
already know about. We can use this to enable extending our
current list of controls, which is more efficient than
closing the mixer session and recreating it.
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
|
|
|
|
This merges all the changes for the 1.1.0 release to the master branch.
|
|
|
|
|
|
|
|
|
|
|
|
pcm_readi and pcm_writei now use a frame count to specify the
buffer length instead of using a byte count.
|
|
The newer pcm_readi and pcm_writei functions are now being used.
|
|
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.
|
|
Added functions:
- pcm_get_channels
- pcm_get_rate
- pcm_get_format
These were added since they're required for iterating samples and frames.
|
|
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.
|
|
This merge adds the changes made to the mixer API.
|
|
This function was added to make available a mixer control accessor
in a function that does not modify its value.
|
|
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
|
|
Added const specifiers to all applicable functions in the PCM API.
|
|
pcm_get_file_descriptor
pcm_get_error
pcm_get_buffer_size
pcm_frames_to_bytes
pcm_bytes_to_frames
pcm_get_subdevice
|
|
|
|
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.
|
|
The const specifier was added to the struct pcm_config argument.
|
|
The changed was brought on by to early commits to the PCM API.
|
|
Functions changed are:
- pcm_params_get_mask
- pcm_params_get_min
- pcm_params_get_max
- param_get_mask
- param_get_min
- param_get_max
|
|
Funtions changed are:
- pcm_params_get_mask
- pcm_params_get_min
- pcm_params_get_max
|
|
|
|
Fix install path of include files
|
|
They were installed under $prefix/ instead of $prefix/tinyalsa/
Signed-off-by: David Wagner <david.wagner@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Travis: test the 'make install' target
|
|
Signed-off-by: David Wagner <david.wagner@intel.com>
|
|
|
|
|
|
|
|
Fix the installation of manpages
|
|
Add a Travis CI configuration file
|
|
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>
|
|
See https://docs.travis-ci.com/
Signed-off-by: David Wagner <david.wagner@intel.com>
|
|
|