Skip to content

Commit

Permalink
[update] update ignored files
Browse files Browse the repository at this point in the history
  • Loading branch information
sakumisue committed Dec 8, 2023
1 parent 68c31cb commit 302e017
Show file tree
Hide file tree
Showing 5 changed files with 856 additions and 0 deletions.
28 changes: 28 additions & 0 deletions components/multimedia/audio_flowctrl_bridge/include/pcm_drv.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/**
****************************************************************************************
*
* Copyright (C) Bouffalo Lab 2016-2018
*
****************************************************************************************
*/

#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <errno.h>
#include <atomic.h>
#include <assert.h>

typedef void * pcm_handle_t;

struct pcm_drv {
pcm_handle_t *(*pcm_open)(int mode, int samplerate, int channels, int format);
int (*pcm_write)(pcm_handle_t pcm, const void *buf, unsigned int size);
int (*pcm_start)(pcm_handle_t pcm);
int (*pcm_stop)(pcm_handle_t pcm);
int (*pcm_ioctl)(pcm_handle_t pcm, int cmd, void *arg);
void (*pcm_close)(pcm_handle_t pcm);
};

const struct pcm_drv *pcm_drv_register(void);

Binary file not shown.
Loading

0 comments on commit 302e017

Please sign in to comment.