summaryrefslogtreecommitdiff
path: root/include/sound/asound.h
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2004-01-19 19:50:55 +0000
committerJaroslav Kysela <perex@perex.cz>2004-01-19 19:50:55 +0000
commit830a449ceea95216a9664104d655fbb75e558278 (patch)
treee9ef017453bf75315e5d84eefb8de51f25969e28 /include/sound/asound.h
parentaa3536961bee9c6f268fa661f0283632abef4b59 (diff)
downloadalsa-lib-830a449ceea95216a9664104d655fbb75e558278.tar.gz
Sync with driver
Diffstat (limited to 'include/sound/asound.h')
-rw-r--r--include/sound/asound.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sound/asound.h b/include/sound/asound.h
index 864369aa..474b45df 100644
--- a/include/sound/asound.h
+++ b/include/sound/asound.h
@@ -272,6 +272,7 @@ enum sndrv_pcm_subformat {
#define SNDRV_PCM_INFO_HALF_DUPLEX 0x00100000 /* only half duplex */
#define SNDRV_PCM_INFO_JOINT_DUPLEX 0x00200000 /* playback and capture stream are somewhat correlated */
#define SNDRV_PCM_INFO_SYNC_START 0x00400000 /* pcm support some kind of sync go */
+#define SNDRV_PCM_INFO_NONATOMIC_OPS 0x00800000 /* non-atomic prepare callback */
enum sndrv_pcm_state {
SNDRV_PCM_STATE_OPEN = 0, /* stream is open */
@@ -282,7 +283,8 @@ enum sndrv_pcm_state {
SNDRV_PCM_STATE_DRAINING, /* stream is draining */
SNDRV_PCM_STATE_PAUSED, /* stream is paused */
SNDRV_PCM_STATE_SUSPENDED, /* hardware is suspended */
- SNDRV_PCM_STATE_LAST = SNDRV_PCM_STATE_SUSPENDED,
+ SNDRV_PCM_STATE_DISCONNECTED, /* hardware is disconnected */
+ SNDRV_PCM_STATE_LAST = SNDRV_PCM_STATE_DISCONNECTED,
};
enum {