diff --git a/examples/asmp/asmp_main.c b/examples/asmp/asmp_main.c index 2441c73a7..5999bc4be 100644 --- a/examples/asmp/asmp_main.c +++ b/examples/asmp/asmp_main.c @@ -73,7 +73,7 @@ #endif #ifndef MOUNTPT -# define MOUNTPT "/mnt/vfat/BIN" +# define MOUNTPT "/mnt/sd0/BIN" #endif /* MP object keys. Must be synchronized with worker. */ diff --git a/examples/audio_player_post/Kconfig b/examples/audio_player_post/Kconfig deleted file mode 100644 index cf481b13e..000000000 --- a/examples/audio_player_post/Kconfig +++ /dev/null @@ -1,54 +0,0 @@ -# -# For a description of the syntax of this configuration file, -# see the file kconfig-language.txt in the NuttX tools repository. -# - -config EXAMPLES_AUDIO_PLAYER_POST - bool "Audio player example with postfilter" - default n - depends on CXD56_AUDIO - ---help--- - Enable the audio player with postfilter example - -if EXAMPLES_AUDIO_PLAYER_POST - -choice - prompt "Output device selection" - default EXAMPLES_AUDIO_PLAYER_POST_OUTPUT_DEV_SPHP - ---help--- - Set the device type of output to use - -config EXAMPLES_AUDIO_PLAYER_POST_OUTPUT_DEV_SPHP - bool "Speaker/Headphone output" - -config EXAMPLES_AUDIO_PLAYER_POST_OUTPUT_DEV_I2S - bool "I2S output" -endchoice - -choice - prompt "player mode selection" - default EXAMPLES_AUDIO_PLAYER_POST_MODE_NORMAL - ---help--- - Set the operation mode of player capability. - To play include Hi-Res file, select Hi-Res mode. - If it is not Hi-Res file, select Normal mode. - -config EXAMPLES_AUDIO_PLAYER_POST_MODE_NORMAL - bool "Normal mode" - -config EXAMPLES_AUDIO_PLAYER_POST_MODE_HIRES - bool "Hi-Res mode" -endchoice - -config EXAMPLES_AUDIO_PLAYER_POST_PROGNAME - string "Program name" - default "audio_player_post" - -config EXAMPLES_AUDIO_PLAYER_POST_PRIORITY - int "Audio player pf task priority" - default 150 - -config EXAMPLES_AUDIO_PLAYER_POST_STACKSIZE - int "Audio player pf stack size" - default 2048 -endif diff --git a/examples/audio_player_post/README.txt b/examples/audio_player_post/README.txt deleted file mode 100644 index d012a35f0..000000000 --- a/examples/audio_player_post/README.txt +++ /dev/null @@ -1,43 +0,0 @@ - -Usage of audio_player_post -=========================== - -Usage ---------------------------- - -Select options in below. - -SDK -- [CXD56xx Configuration Options] - [Audio] <= Y -- [SDK audio] <= Y - [Audio Utilities] - [Audio Player] <= Y - [Playlist manager] <= Y -- [Memory manager] <= Y -- [ASMP] <= Y -- [Examples] - [Audio player example] <= Y - -Build and install --------------------------- - -Build Kernel and SDK. -Install 'nuttx.spk' to system. - -After that, you can see worker binary 'AACDEC', 'MP3DEC', 'OPUSDEC' -in directory sdk/modules/audio/dsp. -Store worker binary, playlist and play contents in the path specified by option. - - Default path - worker binary : /mnt/sd0/bin - play list : /mnt/sd0/playlist - contents : /mnt/sd0/audio - -Execute --------------------------- - -Type 'player' on nsh. -nsh>player - -The first content of playlist will be played for 10 seconds. - diff --git a/examples/audio_player_post/audio_player_post_main.cxx b/examples/audio_player_post/audio_player_post_main.cxx deleted file mode 100644 index 208c9f5dd..000000000 --- a/examples/audio_player_post/audio_player_post_main.cxx +++ /dev/null @@ -1,1357 +0,0 @@ -/**************************************************************************** - * audio_player_post/audio_player_post_main.cxx - * - * Copyright 2018 Sony Semiconductor Solutions Corporation - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * 3. Neither the name of Sony Semiconductor Solutions Corporation nor - * the names of its contributors may be used to endorse or promote - * products derived from this software without specific prior written - * permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS - * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN - * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - ****************************************************************************/ - -/**************************************************************************** - * Included Files - ****************************************************************************/ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "audio/audio_high_level_api.h" -#include "memutils/simple_fifo/CMN_SimpleFifo.h" -#include "memutils/memory_manager/MemHandle.h" -#include "memutils/message/Message.h" -#include "include/msgq_id.h" -#include "include/mem_layout.h" -#include "include/memory_layout.h" -#include "include/msgq_pool.h" -#include "include/pool_layout.h" -#include "include/fixed_fence.h" -#include "userproc_command.h" -#include