]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - sound/firewire/amdtp-am824.h
ALSA: firewire-lib: move PCM substream constraint to AM824 layer
[karo-tx-linux.git] / sound / firewire / amdtp-am824.h
1 #ifndef SOUND_FIREWIRE_AMDTP_AM824_H_INCLUDED
2 #define SOUND_FIREWIRE_AMDTP_AM824_H_INCLUDED
3
4 #include <sound/pcm.h>
5
6 #include "amdtp-stream.h"
7
8 int amdtp_am824_set_parameters(struct amdtp_stream *s, unsigned int rate,
9                                unsigned int pcm_channels,
10                                unsigned int midi_ports,
11                                bool double_pcm_frames);
12
13 int amdtp_am824_add_pcm_hw_constraints(struct amdtp_stream *s,
14                                        struct snd_pcm_runtime *runtime);
15
16 int amdtp_am824_init(struct amdtp_stream *s, struct fw_unit *unit,
17                      enum amdtp_stream_direction dir, enum cip_flags flags);
18 #endif