VSF Documented
Functions
vsf_linux_core_sound.c File Reference
#include "shell/sys/linux/vsf_linux_cfg.h"
#include <linux/slab.h>
#include <sound/core.h>
#include <sound/pcm.h>

Functions

int snd_card_new (struct device *parent, int idx, const char *id, struct module *module, int extra_size, struct snd_card **card_ret)
 
int snd_pcm_new_stream (struct snd_pcm *pcm, int stream, int substream_count)
 
int snd_pcm_new (struct snd_card *card, const char *id, int device, int playback_count, int capture_count, struct snd_pcm **rpcm)
 
void snd_pcm_set_ops (struct snd_pcm *pcm, int direction, const struct snd_pcm_ops *ops)
 
int snd_card_register (struct snd_card *card)
 
void snd_card_disconnect (struct snd_card *card)
 
void snd_card_free (struct snd_card *card)
 
void snd_card_free_when_closed (struct snd_card *card)
 
void snd_pcm_period_elapsed_under_stream_lock (struct snd_pcm_substream *substream)
 
void snd_pcm_period_elapsed (struct snd_pcm_substream *substream)
 
int snd_pcm_lib_alloc_vmalloc_buffer (struct snd_pcm_substream *substream, size_t size)
 
int snd_pcm_lib_free_vmalloc_buffer (struct snd_pcm_substream *substream)
 
struct page * snd_pcm_lib_get_vmalloc_page (struct snd_pcm_substream *substream, unsigned long offset)
 
int snd_pcm_lib_ioctl (struct snd_pcm_substream *substream, unsigned int cmd, void *arg)
 

Function Documentation

◆ snd_card_new()

int snd_card_new ( struct device parent,
int  idx,
const char *  id,
struct module module,
int  extra_size,
struct snd_card **  card_ret 
)

◆ snd_pcm_new_stream()

int snd_pcm_new_stream ( struct snd_pcm pcm,
int  stream,
int  substream_count 
)

◆ snd_pcm_new()

int snd_pcm_new ( struct snd_card card,
const char *  id,
int  device,
int  playback_count,
int  capture_count,
struct snd_pcm **  rpcm 
)

◆ snd_pcm_set_ops()

void snd_pcm_set_ops ( struct snd_pcm pcm,
int  direction,
const struct snd_pcm_ops ops 
)

◆ snd_card_register()

int snd_card_register ( struct snd_card card)

◆ snd_card_disconnect()

void snd_card_disconnect ( struct snd_card card)

◆ snd_card_free()

void snd_card_free ( struct snd_card card)

◆ snd_card_free_when_closed()

void snd_card_free_when_closed ( struct snd_card card)

◆ snd_pcm_period_elapsed_under_stream_lock()

void snd_pcm_period_elapsed_under_stream_lock ( struct snd_pcm_substream substream)

◆ snd_pcm_period_elapsed()

void snd_pcm_period_elapsed ( struct snd_pcm_substream substream)

◆ snd_pcm_lib_alloc_vmalloc_buffer()

int snd_pcm_lib_alloc_vmalloc_buffer ( struct snd_pcm_substream substream,
size_t  size 
)

◆ snd_pcm_lib_free_vmalloc_buffer()

int snd_pcm_lib_free_vmalloc_buffer ( struct snd_pcm_substream substream)

◆ snd_pcm_lib_get_vmalloc_page()

struct page * snd_pcm_lib_get_vmalloc_page ( struct snd_pcm_substream substream,
unsigned long  offset 
)

◆ snd_pcm_lib_ioctl()

int snd_pcm_lib_ioctl ( struct snd_pcm_substream substream,
unsigned int  cmd,
void *  arg 
)
Generated from commit: vsfteam/vsf@f33b89f