LibDriver VS1053B
Loading...
Searching...
No Matches
driver_vs1053b_basic.c File Reference

driver vs1053b basic source file More...

#include "driver_vs1053b_basic.h"
#include <stdlib.h>
Include dependency graph for driver_vs1053b_basic.c:

Go to the source code of this file.

Functions

uint8_t vs1053b_basic_init (vs1053b_mode_t mode, vs1053b_record_format_t format, void(*callback)(uint8_t type, uint32_t cur_pos))
 basic example init
uint8_t vs1053b_basic_deinit (void)
 basic example deinit
uint8_t vs1053b_basic_pause (void)
 basic example pause
uint8_t vs1053b_basic_stop (void)
 basic example stop
uint8_t vs1053b_basic_play (char *path)
 basic example play
uint8_t vs1053b_basic_record (char *path)
 basic example record
uint8_t vs1053b_basic_service (void)
 basic example service
uint8_t vs1053b_basic_set_callback_period (uint32_t second)
 basic example set callback period
uint8_t vs1053b_basic_set_vol (float vol)
 basic example set vol
uint8_t vs1053b_basic_get_decode_time (uint16_t *decode_time)
 basic example get decode time
uint8_t vs1053b_basic_get_bytes_rate (uint16_t *rate)
 basic example get bytes rate
uint8_t vs1053b_basic_get_sample_rate (uint16_t *rate, vs1053b_channel_t *channel)
 basic example get sample rate
uint8_t vs1053b_basic_get_info (vs1053b_audio_info_t *info)
 basic example get info

Detailed Description

driver vs1053b basic source file

Copyright (c) 2015 - present LibDriver All rights reserved

The MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Version
1.0.0
Author
Shifeng Li
Date
2023-06-30

history

Date Version Author Description
2023/06/30 1.0 Shifeng Li first upload

Definition in file driver_vs1053b_basic.c.