omegaframe / alsa.net Goto Github PK
View Code? Open in Web Editor NEWThis project forked from zhanggaoxing/alsa.net
Simple ALSA Wrapper for .NET Standard
Home Page: http://omegaframe.com/opensource/alsa.net
License: Other
This project forked from zhanggaoxing/alsa.net
Simple ALSA Wrapper for .NET Standard
Home Page: http://omegaframe.com/opensource/alsa.net
License: Other
Hi,
I wanna use the library but I need to play song for time limit from ms to minutes. Did you know if it's possible with Alsa and if you will be implement it on your lib ?
Regards
Hi
I am getting the following error.
I am using this library in .net C# project on a RaspberryPi. The aim is to capture audio. from a USB mic.
How can I specify the USB mic or get a list of device to connect with?
An unhandled exception of type 'Alsa.Net.Internal.AlsaDeviceException' occurred in Alsa.Net.dll: 'Alsa Error: Can not open recording device. Error -2. No such file or directory.'
at Alsa.Net.Internal.UnixSoundDevice.ThrowErrorMessage(Int32 errorNum, String message)
at Alsa.Net.Internal.UnixSoundDevice.OpenRecordingPcm()
at Alsa.Net.Internal.UnixSoundDevice.Record(Stream saveStream, CancellationToken token)
at Alsa.Net.Internal.UnixSoundDevice.Record(UInt32 second, Stream saveStream)
at Alsa.Net.Internal.UnixSoundDevice.Record(UInt32 second, String savePath)
at Program.Main(String[] args) in /home/dotnet.core.iot.csharp/Program.cs:line 12
Using 64-bit Debian, if we attempt to call SetSystemVolume or GetSystemVolume, we get the following exception:
SetSystemVolume error: Alsa.Net.Internal.AlsaDeviceException: Alsa Error: Volume error
Error -22. Invalid argument.
at Alsa.Net.Internal.UnixSoundDevice.ThrowErrorMessage(Int32 errorNum, String message)
at Alsa.Net.Internal.UnixSoundDevice.SetPlaybackVolume(Int64 volume)
at Alsa.Net.Internal.UnixSoundDevice.set_PlaybackVolume(Int64 value)
The same code works as expected on 32-bit, for example on a Raspberry Pi running a 32-bit OS.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.