-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add I2S Audio Driver
- Loading branch information
Showing
58 changed files
with
15,124 additions
and
98 deletions.
There are no files selected for viewing
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
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
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,15 @@ | ||
# CoolStar Audio for Rockchip 3xxx | ||
|
||
Open Source driver for Rockchip 3xxx | ||
|
||
Currently Implemented: | ||
|
||
* 16-bit 48 Khz Audio Streams | ||
* I2S TDM Streams | ||
* Runtime Power Management | ||
* Play / Pause / Stop support for streams | ||
* WDM Position Counter | ||
|
||
Tested on Orange Pi 5 (RK3588S) | ||
|
||
Based off csaudioacp3x |
101 changes: 101 additions & 0 deletions
101
drivers/audio/csaudiork3x/Source/Filters/Filters.vcxproj
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,101 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup Label="ProjectConfigurations"> | ||
<ProjectConfiguration Include="Debug|ARM64"> | ||
<Configuration>Debug</Configuration> | ||
<Platform>ARM64</Platform> | ||
</ProjectConfiguration> | ||
<ProjectConfiguration Include="Release|ARM64"> | ||
<Configuration>Release</Configuration> | ||
<Platform>ARM64</Platform> | ||
</ProjectConfiguration> | ||
</ItemGroup> | ||
<PropertyGroup Label="Globals"> | ||
<ProjectGuid>{771312CF-E5A2-4676-8142-86CEBDF99E2B}</ProjectGuid> | ||
<RootNamespace>$(MSBuildProjectName)</RootNamespace> | ||
<KMDF_VERSION_MAJOR>1</KMDF_VERSION_MAJOR> | ||
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration> | ||
<Platform Condition="'$(Platform)' == ''">Win32</Platform> | ||
<SampleGuid>{F51739CE-5253-42B5-9191-57F28B5842C6}</SampleGuid> | ||
<ProjectName>csaudio-Filters</ProjectName> | ||
<WindowsTargetPlatformVersion>$(LatestTargetPlatformVersion)</WindowsTargetPlatformVersion> | ||
</PropertyGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
<PropertyGroup Label="Configuration"> | ||
<TargetVersion>Windows10</TargetVersion> | ||
<DriverTargetPlatform>Universal</DriverTargetPlatform> | ||
<DriverType>KMDF</DriverType> | ||
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset> | ||
<ConfigurationType>StaticLibrary</ConfigurationType> | ||
</PropertyGroup> | ||
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'"> | ||
<UseDebugLibraries>true</UseDebugLibraries> | ||
</PropertyGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
<PropertyGroup> | ||
<OutDir>$(IntDir)</OutDir> | ||
</PropertyGroup> | ||
<ImportGroup Label="PropertySheets"> | ||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" /> | ||
<Import Project="$(SolutionDir)\common.props" /> | ||
</ImportGroup> | ||
<ItemGroup Label="WrappedTaskItems" /> | ||
<PropertyGroup> | ||
<TargetName>csaudio-Filters</TargetName> | ||
</PropertyGroup> | ||
<ItemDefinitionGroup> | ||
<ResourceCompile> | ||
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH);..</AdditionalIncludeDirectories> | ||
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);..\Inc</AdditionalIncludeDirectories> | ||
<PreprocessorDefinitions>%(PreprocessorDefinitions);_USE_WAVERT_</PreprocessorDefinitions> | ||
</ResourceCompile> | ||
<ClCompile> | ||
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH);..;.</AdditionalIncludeDirectories> | ||
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);..\Inc;.</AdditionalIncludeDirectories> | ||
<PreprocessorDefinitions>%(PreprocessorDefinitions);_USE_WAVERT_;_NEW_DELETE_OPERATORS_</PreprocessorDefinitions> | ||
<ExceptionHandling> | ||
</ExceptionHandling> | ||
<DisableSpecificWarnings>4595;%(DisableSpecificWarnings)</DisableSpecificWarnings> | ||
</ClCompile> | ||
<Midl> | ||
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH);..</AdditionalIncludeDirectories> | ||
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);..\Inc</AdditionalIncludeDirectories> | ||
<PreprocessorDefinitions>%(PreprocessorDefinitions);_USE_WAVERT_</PreprocessorDefinitions> | ||
</Midl> | ||
<DriverSign> | ||
<FileDigestAlgorithm>sha256</FileDigestAlgorithm> | ||
</DriverSign> | ||
</ItemDefinitionGroup> | ||
<ItemGroup> | ||
<ClCompile Include="hdmitopo.cpp" /> | ||
<ClCompile Include="headphonetopo.cpp" /> | ||
<ClCompile Include="micarraytopo.cpp" /> | ||
<ClCompile Include="micjacktopo.cpp" /> | ||
<ClCompile Include="speakertopo.cpp" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Inf Exclude="@(Inf)" Include="*.inf" /> | ||
<FilesToPackage Include="$(TargetPath)" Condition="'$(ConfigurationType)'=='Driver' or '$(ConfigurationType)'=='DynamicLibrary'" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Exclude="@(None)" Include="*.txt;*.htm;*.html" /> | ||
<None Exclude="@(None)" Include="*.ico;*.cur;*.bmp;*.dlg;*.rct;*.gif;*.jpg;*.jpeg;*.wav;*.jpe;*.tiff;*.tif;*.png;*.rc2" /> | ||
<None Exclude="@(None)" Include="*.def;*.bat;*.hpj;*.asmx" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClInclude Include="hdmitopo.h" /> | ||
<ClInclude Include="hdmitoptable.h" /> | ||
<ClInclude Include="headphonetopo.h" /> | ||
<ClInclude Include="headphonetoptable.h" /> | ||
<ClInclude Include="micarray1toptable.h" /> | ||
<ClInclude Include="micarraytopo.h" /> | ||
<ClInclude Include="micarraywavtable.h" /> | ||
<ClInclude Include="micjacktopo.h" /> | ||
<ClInclude Include="micjacktoptable.h" /> | ||
<ClInclude Include="minipairs.h" /> | ||
<ClInclude Include="speakertopo.h" /> | ||
<ClInclude Include="speakertoptable.h" /> | ||
<ClInclude Include="speakerwavtable.h" /> | ||
</ItemGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
</Project> |
159 changes: 159 additions & 0 deletions
159
drivers/audio/csaudiork3x/Source/Filters/Filters.vcxproj.Filters
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,159 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup> | ||
<Filter Include="Source Files"> | ||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx;*</Extensions> | ||
<UniqueIdentifier>{75C3E63D-04EA-4EB3-B9F1-505497C51F71}</UniqueIdentifier> | ||
</Filter> | ||
<Filter Include="Header Files"> | ||
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions> | ||
<UniqueIdentifier>{5E8F8D4C-2886-4109-9E78-CE5EA6DB4AC4}</UniqueIdentifier> | ||
</Filter> | ||
<Filter Include="Resource Files"> | ||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms;man;xml</Extensions> | ||
<UniqueIdentifier>{75D3016A-4ED8-4FAF-9817-394BE1112534}</UniqueIdentifier> | ||
</Filter> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClCompile Include="speakertopo.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="micarraytopo.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="speakertopo.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="headphonetopo.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="micjacktopo.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="hdmitopo.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClInclude Include="headphonetoptable.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="micarray1toptable.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="micarraytopo.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="micarraywavtable.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="micjacktopo.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="micjacktoptable.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="minipairs.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="speakertopo.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="speakertoptable.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="speakerwavtable.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="hdmitoptable.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="headphonetopo.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="headphonetoptable.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="micarray1toptable.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="micarraytopo.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="micarraywavtable.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="micjacktopo.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="micjacktoptable.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="minipairs.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="speakertopo.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="speakertoptable.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="speakerwavtable.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="*.h;*.hpp;*.hxx;*.hm;*.inl;*.xsd"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="*.h;*.hpp;*.hxx;*.hm;*.inl;*.xsd"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="*.h;*.hpp;*.hxx;*.hm;*.inl;*.xsd"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="*.h;*.hpp;*.hxx;*.hm;*.inl;*.xsd"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="*.h;*.hpp;*.hxx;*.hm;*.inl;*.xsd"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="headphonetoptable.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="micjacktoptable.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="headphonetopo.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="micjacktopo.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="micarray1toptable.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="micarraytopo.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="micarraywavtable.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="minipairs.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="speakertopo.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="speakertoptable.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="speakerwavtable.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="hdmitopo.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="hdmitoptable.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
</ItemGroup> | ||
</Project> |
Oops, something went wrong.