forked from bouffalolab/bouffalo_sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
856 additions
and
0 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
components/multimedia/audio_flowctrl_bridge/include/pcm_drv.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 added
BIN
+2.44 MB
components/multimedia/pvmp3dec/libs/e907fp/libpvmp3dec_mono_prebuild.a
Binary file not shown.
Oops, something went wrong.