mirror of https://gitee.com/openkylin/linux.git
19 lines
572 B
C
19 lines
572 B
C
#ifndef SOUND_FIREWIRE_AMDTP_AM824_H_INCLUDED
|
|
#define SOUND_FIREWIRE_AMDTP_AM824_H_INCLUDED
|
|
|
|
#include <sound/pcm.h>
|
|
|
|
#include "amdtp-stream.h"
|
|
|
|
int amdtp_am824_set_parameters(struct amdtp_stream *s, unsigned int rate,
|
|
unsigned int pcm_channels,
|
|
unsigned int midi_ports,
|
|
bool double_pcm_frames);
|
|
|
|
int amdtp_am824_add_pcm_hw_constraints(struct amdtp_stream *s,
|
|
struct snd_pcm_runtime *runtime);
|
|
|
|
int amdtp_am824_init(struct amdtp_stream *s, struct fw_unit *unit,
|
|
enum amdtp_stream_direction dir, enum cip_flags flags);
|
|
#endif
|