Commit | Line | Data |
---|---|---|
5955815e TS |
1 | #ifndef SOUND_FIREWIRE_AMDTP_AM824_H_INCLUDED |
2 | #define SOUND_FIREWIRE_AMDTP_AM824_H_INCLUDED | |
3 | ||
bc8500da TS |
4 | #include <sound/pcm.h> |
5 | ||
5955815e TS |
6 | #include "amdtp-stream.h" |
7 | ||
51c29fd2 TS |
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 | ||
bc8500da TS |
13 | int amdtp_am824_add_pcm_hw_constraints(struct amdtp_stream *s, |
14 | struct snd_pcm_runtime *runtime); | |
15 | ||
5955815e TS |
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 |