Go to the source code of this file.
#define AMDTP_OUT_PCM_FORMAT_BITS |
Value:(SNDRV_PCM_FMTBIT_S16 | \
SNDRV_PCM_FMTBIT_S32)
Definition at line 33 of file amdtp.h.
enum cip_out_flags - describes details of the streaming protocol : In non-blocking mode, each packet contains sample_rate/8000 samples, with rounding up or down to adjust for clock skew and left-over fractional samples. This should be used if supported by the device.
- Enumerator:
-
Definition at line 16 of file amdtp.h.
enum cip_sfc - a stream's sample rate
- Enumerator:
CIP_SFC_32000 |
|
CIP_SFC_44100 |
|
CIP_SFC_48000 |
|
CIP_SFC_88200 |
|
CIP_SFC_96000 |
|
CIP_SFC_176400 |
|
CIP_SFC_192000 |
|
Definition at line 23 of file amdtp.h.
amdtp_out_stream_destroy - free stream resources : the AMDTP output stream to destroy
Definition at line 63 of file amdtp.c.
amdtp_out_stream_get_max_payload - get the stream's packet size : the AMDTP output stream
This function must not be called before the stream has been configured with amdtp_out_stream_set_hw_params(), amdtp_out_stream_set_pcm(), and amdtp_out_stream_set_midi().
Definition at line 116 of file amdtp.c.
amdtp_out_stream_init - initialize an AMDTP output stream structure : the AMDTP output stream to initialize : the target of the stream : the packet transmission method to use
Definition at line 42 of file amdtp.c.
amdtp_out_stream_pcm_abort - abort the running PCM device : the AMDTP stream about to be stopped
If the isochronous stream needs to be stopped asynchronously, call this function first to stop the PCM device.
Definition at line 598 of file amdtp.c.
amdtp_out_stream_pcm_pointer - get the PCM buffer position : the AMDTP output stream that transports the PCM data
Returns the current buffer position, in frames.
Definition at line 542 of file amdtp.c.
amdtp_out_stream_pcm_prepare - prepare PCM device for running : the AMDTP output stream
This function should be called from the PCM device's .prepare callback.
Definition at line 176 of file amdtp.c.
amdtp_out_stream_set_pcm_format - set the PCM format : the AMDTP output stream to configure : the format of the ALSA PCM device
The sample format must be set before the stream is started, and must not be changed while the stream is running.
Definition at line 150 of file amdtp.c.
amdtp_out_stream_set_rate - set the sample rate : the AMDTP output stream to configure : the sample rate
The sample rate must be set before the stream is started, and must not be changed while the stream is running.
Definition at line 79 of file amdtp.c.
amdtp_out_stream_start - start sending packets : the AMDTP output stream to start : the isochronous channel on the bus : firewire speed code
The stream cannot be started until it has been configured with amdtp_out_stream_set_hw_params(), amdtp_out_stream_set_pcm(), and amdtp_out_stream_set_midi(); and it must be started before any PCM or MIDI device can be started.
Definition at line 462 of file amdtp.c.
amdtp_out_stream_stop - stop sending packets : the AMDTP output stream to stop
All PCM and MIDI devices of the stream must be stopped before the stream itself can be stopped.
Definition at line 572 of file amdtp.c.
amdtp_out_stream_update - update the stream after a bus reset : the AMDTP output stream
Definition at line 558 of file amdtp.c.