mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Added SNDRV_PCM_STATE_DISCONNECTED state.
Changed direct plugins to handle DISCONNECT/SUSPEND states from slave.
This commit is contained in:
parent
bc2f075269
commit
9105bb7fcd
5 changed files with 89 additions and 5 deletions
|
|
@ -254,7 +254,9 @@ typedef enum _snd_pcm_state {
|
|||
SND_PCM_STATE_PAUSED,
|
||||
/** Hardware is suspended */
|
||||
SND_PCM_STATE_SUSPENDED,
|
||||
SND_PCM_STATE_LAST = SND_PCM_STATE_SUSPENDED
|
||||
/** Hardware is disconnected */
|
||||
SND_PCM_STATE_DISCONNECTED,
|
||||
SND_PCM_STATE_LAST = SND_PCM_STATE_DISCONNECTED
|
||||
} snd_pcm_state_t;
|
||||
|
||||
/** PCM start mode */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue