diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2014-04-25 22:45:19 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-05-26 14:30:46 +0200 |
commit | fbbebd2c40795e87f1280ca4d963f7cbe1c83168 (patch) | |
tree | 349d71f02954a977d33e595c835045bad2722438 /sound/firewire/bebob/bebob.h | |
parent | 248b78027d26735eb22f5ee91a400e5eabfea77d (diff) | |
download | op-kernel-dev-fbbebd2c40795e87f1280ca4d963f7cbe1c83168.zip op-kernel-dev-fbbebd2c40795e87f1280ca4d963f7cbe1c83168.tar.gz |
ALSA: bebob: Add PCM interface
This commit adds a functionality to capture/playback PCM samples.
When AMDTP stream is already running for PCM or the source of clock is not
internal, available sampling rate is limited at current one.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/bebob/bebob.h')
-rw-r--r-- | sound/firewire/bebob/bebob.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/firewire/bebob/bebob.h b/sound/firewire/bebob/bebob.h index 0d53cff..b41bb91 100644 --- a/sound/firewire/bebob/bebob.h +++ b/sound/firewire/bebob/bebob.h @@ -22,6 +22,8 @@ #include <sound/initval.h> #include <sound/info.h> #include <sound/rawmidi.h> +#include <sound/pcm.h> +#include <sound/pcm_params.h> #include "../lib.h" #include "../fcp.h" @@ -177,6 +179,8 @@ void snd_bebob_proc_init(struct snd_bebob *bebob); int snd_bebob_create_midi_devices(struct snd_bebob *bebob); +int snd_bebob_create_pcm_devices(struct snd_bebob *bebob); + #define SND_BEBOB_DEV_ENTRY(vendor, model) \ { \ .match_flags = IEEE1394_MATCH_VENDOR_ID | \ |