mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-01 22:58:49 -04:00
Reverted back the PCM API.
New snd_pcm_hw_params_* functions are available only explicitly when ALSA_PCM_NEW_HW_PARAMS_API is defined. Updated documentation and test code to new API.
This commit is contained in:
parent
ec415ef3a9
commit
7f3942d827
15 changed files with 528 additions and 65 deletions
|
|
@ -172,6 +172,13 @@ void snd_midi_event_free(snd_midi_event_t *dev)
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Enable/disable MIDI command merging
|
||||
* \param dev MIDI event parser
|
||||
* \param on 0 - enable MIDI command merging, 1 - always pass the command
|
||||
*
|
||||
* Enable/disable MIDI command merging
|
||||
*/
|
||||
void snd_midi_event_no_status(snd_midi_event_t *dev, int on)
|
||||
{
|
||||
dev->nostat = on ? 1 : 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue