zhangyuebin
f3d20abe07
audio: Return audio_lowerhalf_s pointer instead error code in audio_comp_initialize
2022-04-10 15:41:14 -03:00
Alin Jerpelea
231b8518b7
NuttX: Ken Pettit: update licenses to Apache
...
Ken Pettit has submitted the ICLA and we can migrate the licenses
to Apache.
Sebastien Lorquet has submitted the ICLA and we can migrate the licenses
to Apache.
Gregory Nutt has submitted the SGA and we can migrate the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-10 06:42:19 -05:00
Alin Jerpelea
f9c6eb3e99
include: Author: Alan Carvalho de Assis: update licenses to Apache 2.0
...
Update files from Alan Carvalho de Assis to Apache 2.0 license.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-02-04 03:33:58 -08:00
Alin Jerpelea
a8a1308240
include: nuttx: update licenses to Apache 2.0
...
The SGA from Gregory Nutt had been submitted and we can replace
the licenses to Apache 2.0
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-02-01 11:21:57 -03:00
Alin Jerpelea
1824894feb
include: nuttx: replace licenses with Apache 2.0
...
This change is a license change to Apache 2.0 license.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-01-26 05:11:58 -08:00
Chaochao Cui
fbb3cd660b
add simple wm8994 codec driver
2020-11-28 10:23:40 -03:00
ligd
b54e9ffccc
nuttx/audio/audio.h: add ac_chmap support for both input & output
...
Change-Id: Ic582868fa3099943c4c28ccca7e33f7b3a2afbf7
2020-09-25 00:54:26 -07:00
Xiang Xiao
ae356001cf
Change all files come from Xiaomi/Pinecone to Apache License 2.0
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-08-22 17:37:21 -06:00
Masayuki Ishikawa
41e6ce2beb
include: audio: Replace license header with Apache License 2.0
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-07-28 00:47:39 -05:00
Ouss4
8da4b02350
drivers/audio: Add CS4344 driver.
2020-06-05 15:54:17 -03:00
Masayuki Ishikawa
ef30832e67
include: audio: Remove CONFIG_AUDIO_DRIVER_SPECIFIC_BUFFERS from audio.h
...
NOTE: struct ap_buffer_info_s can be used without the config
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-06-05 12:02:33 +08:00
Alin Jerpelea
d9d720b296
audio: nxstyle fixes for core and drivers
...
nxstyle fixes for the audio core and drivers
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2020-04-21 17:19:52 -06:00
Alin Jerpelea
76c47f6b21
libc: audio: nxstyle fixes
...
This change is needed to be able to fix the warnings on the audio core
and includes the propagation of the fix in the audio.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2020-04-21 17:19:52 -06:00
Tobias Johansson
57e8f0451a
cxd56: add initial Nuttx audio driver
...
Adds an initial Nuttx audio driver supporting the Spresense CXD56.
Being a work in progress the driver has a number of limitations:
- Audio playback only, no recording yet.
- Only 16 bit stereo playback is supported.
- In practice only 48kHz playback is supported due to missing SRC.
- Configure driver in "Device Drivers --> Audio Device Support".
2020-04-16 12:50:05 -06:00
Masayuki Ishikawa
0bd17b2c9c
include: audio: Remove packed_struct from struct ap_buffer_s
...
NOTE: This change suppresses unaligned access warnings with arm gcc9
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-02-27 23:31:41 -06:00
Xiang Xiao
cde88cabcc
Run codespell -w with the latest dictonary again
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-02-23 22:27:46 +01:00
Xiang Xiao
5c80b94820
Replace #include <semaphore.h> to #include <nuttx/semaphore.h>
...
Since the kernel side should call nxsem_xxx instead and remove the unused inclusion
2020-02-01 08:27:30 -06:00
Gregory Nutt
6d197e5a59
include/nuttx/audio/audio.h: Fix some typos that I introduced with my review of a recent patch.
2019-11-04 10:45:13 -06:00
anchao
9e3bafc7c6
audio/audio.c: Add message type to support audio trigger.
2019-11-03 19:52:18 -06:00
Nathan Hartman
366053e464
Fix typos, 1 in a #define, others in comments. This changes one definition: _MQ_TIMEDRECIEVE is changed to _MQ_TIMEDRECEIVE. It appears this symbol is not used anywhere.
2019-09-11 08:56:56 -06:00
Augusto Fraga Giachero
68bbc8438c
drivers/timers/pwm.c: Move the pwm/pwm.c driver to timers/pwm.c, The drivers/pwm contained only one .c file (pwm.c), so to avoid the proliferation of sub-directories inside drivers/ is better to move the pwm.c driver to drivers/timers. The pwm.h header was moved to include/nuttx/timers to keep consistency, so all files referencing it need to be updated.
2019-09-02 07:57:10 -06:00
Xiang Xiao
a82f073892
Fixes warnings from header files:
...
include/nuttx/clock.h: Fix uptime wrong if DEBUG_FEATURES and SCHED_TICKLESS enabled
include/nuttx/arch.h: fix CONFIG_ARCH_INTERRUPTSTACK not defined warning
include/nuttx/audio/audio_i2s.h: Fix warning: struct i2s_dev_s declared inside parameter list
2018-11-09 09:10:28 -06:00
Xiang Xiao
b5f8c035a6
audio/audio_comp.c: Add the composite audio driver
2018-08-27 09:03:09 -06:00
ZhongAn
85a993999e
drivers/audio/audio_i2s.c: Add audio_i2s device driver.
2018-08-27 08:52:08 -06:00
ZhongAn
47db09633c
include/nuttx/audio/i2s.h: Add i2s_rxchannels and i2s_txchannels methods to the I2S lower half interface.
2018-08-27 08:37:57 -06:00
anchao
d795344014
nuttx/audio: Add hardware format support
2018-08-27 07:58:22 -06:00
ZhongAn
d77b9b1209
include/nuttx/audio/audio.h: Add ioctl cmd 'AUDIOIOC_SETBUFFERINFO' so user space could config the buffer
2018-08-27 07:57:16 -06:00
ZhongAn
4d115e925f
include/nuttx/audio/audio.h: Change member samp of apb to pointer so driver can customize sample buffer allocation
2018-08-27 07:45:27 -06:00
Masayuki Ishikawa
fb07bd7e27
Adds loopback test for digital MIC on lc823450 via i2schar driver.
...
Squashed commit of:
configs/lc823450-xgevk: Enable DMDIN0 (Digital MIC)
I2S: Add ioctl interface to i2s_ops_s and i2schar driver
arch/arm/src/lc823450: Add DGMIC in lc823450_i2s.c
configs/lc823450-xgevk: Add i2schar driver to lc823450_wm8776.c
configs/lc824350-xgevk: Enable AUDIO_I2SCHAR in audio/defconfig
configs/lc823450-xgevk: Update README.txt
2018-06-05 10:34:22 -06:00
Masayuki Ishikawa
97ca4ef956
Merged in masayuki2009/nuttx.nuttx/change_copyright (pull request #621 )
...
Change all Sony related copyright to conform with our company's internal rules.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-04-04 12:35:47 +00:00
Gregory Nutt
b54ffe858a
Standardization of some function headers.
2018-03-13 09:52:27 -06:00
Gregory Nutt
7cf88d7dbd
Make sure that labeling is used consistently in all function headers.
2018-02-01 10:00:02 -06:00
Masayuki Ishikawa
818901fcf2
include/nuttx/audio: Remove CONFIG_SCHED_WORKQUEUE check in pcm.h
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2017-11-23 19:59:07 +09:00
Masayuki Ishikawa
51b19d5f38
Merged in masayuki2009/nuttx.nuttx/lc823450 (pull request #531 )
...
lc823450-xgevk audio support
* arch/arm/src/lc823450: Add IPL2 support
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* configs/lc823450-xgevk: Add IPL2 support
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* libc/audio: Fix compilation error in lib_buffer.c
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* drivers/audio: Add WM8774 support
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* arch/arm/src/lc823450: Add I2S support
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* configs/lc823450-xgevk: Add WM8774 support
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-08 12:25:13 +00:00
Gregory Nutt
53ef64aae6
drivers/audio: Fix naming of configurations to be compliant for vs1053 audio driver.
2017-08-24 11:11:06 -06:00
Taras Drozdovsky
4ab2a3661e
STM32F4: add cs43l22 audio driver and i2s driver
2017-05-21 14:14:09 -06:00
Gregory Nutt
0de294a586
Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they.
2017-05-11 13:35:56 -06:00
Gregory Nutt
d5207efb5a
Be consistent... Use Name: consistent in function headers vs Function:
2017-04-21 16:33:14 -06:00
Gregory Nutt
02b1e1ec1a
Fixes for coding standard: '*' needs to 'snuggle' with following variable name
2017-02-28 18:22:57 -06:00
Gregory Nutt
b4ff7391f8
Convert more drivers to use use irq_attach with argument.
2017-02-27 10:44:13 -06:00
Gregory Nutt
c776407f64
This should resolve issue #30 : Audio Tone Generator and PWM Multiple Output Channel options. I don't actually have a setup to verify it, however.
2017-02-20 17:26:56 -06:00
Aleksandr Vyhovanec
bf528f2071
packed_struct replaced by begin_packed_struct and end_packed_struct
2017-01-09 14:17:49 +03:00
Alan Carvalho de Assis
8b99dd4cdb
drivers/audio: Add Audio Tone Generator for NuttX
2016-08-16 13:20:05 -06:00
Gregory Nutt
1cdc746726
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
2016-06-11 14:14:08 -06:00
Gregory Nutt
3a74a438d9
Rename CONFIG_DEBUG_VERBOSE to CONFIG_DEBUG_INFO
2016-06-11 11:50:18 -06:00
Gregory Nutt
10000841a8
The I2C_TRANSFER method is no longer optional
2016-01-31 14:16:05 -06:00
Gregory Nutt
3a781a2d3f
Remove I2C slave methods from I2C master interface; rename i2c_dev_s to i2c_master_s.
2016-01-30 08:36:47 -06:00
Gregory Nutt
ceb415204e
Move include/nuttx/i2c.h to include/nuttx/i2c/i2c_master.h
2016-01-30 08:00:16 -06:00
Paul A. Patience
c0964a17b4
Fixed a forgotten FAR, a typo, and an incorrect bit-field definition.
2015-08-10 14:45:40 -04:00
Gregory Nutt
855e40ee7d
Make some file section headers more consistent with standard
2015-04-08 07:25:06 -06:00