linux/sound/firewire/fireworks/fireworks_stream.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * fireworks_stream.c - a part of driver for Fireworks based devices
 *
 * Copyright (c) 2013-2014 Takashi Sakamoto
 */
#include "./fireworks.h"

#define READY_TIMEOUT_MS

static int init_stream(struct snd_efw *efw, struct amdtp_stream *stream)
{}

static int start_stream(struct snd_efw *efw, struct amdtp_stream *stream,
			unsigned int rate)
{}

// This function should be called before starting the stream or after stopping
// the streams.
static void destroy_stream(struct snd_efw *efw, struct amdtp_stream *stream)
{}

static int
check_connection_used_by_others(struct snd_efw *efw, struct amdtp_stream *s)
{}

int snd_efw_stream_init_duplex(struct snd_efw *efw)
{}

static int keep_resources(struct snd_efw *efw, struct amdtp_stream *stream,
			  unsigned int rate, unsigned int mode)
{}

int snd_efw_stream_reserve_duplex(struct snd_efw *efw, unsigned int rate,
				  unsigned int frames_per_period,
				  unsigned int frames_per_buffer)
{}

int snd_efw_stream_start_duplex(struct snd_efw *efw)
{}

void snd_efw_stream_stop_duplex(struct snd_efw *efw)
{}

void snd_efw_stream_update_duplex(struct snd_efw *efw)
{}

void snd_efw_stream_destroy_duplex(struct snd_efw *efw)
{}

void snd_efw_stream_lock_changed(struct snd_efw *efw)
{}

int snd_efw_stream_lock_try(struct snd_efw *efw)
{}

void snd_efw_stream_lock_release(struct snd_efw *efw)
{}