This repository has been archived by the owner on Aug 10, 2022. It is now read-only.
Releases: unosquare/raspberryio
Releases · unosquare/raspberryio
Fix PI Info
Add Bluetooth Controller
Add a new Bluetooth controller to Pi
class with methods to manipulate Bluetooth and devices.
Add network functionality
Add AudioSettings
Basic audio settings have been implemented in RaspberryIO:
- Set a specific volume level percentage.
- Set a specific volume level in decibels (dB)
- Mute an audio device.
- Consult audio device settings.
Users set an audio card, an audio device and an audio command to perform an audio action. Example of audio tasks:
await Pi.PiVolumeControl.SetVolumePercentage(85).ConfigureAwait(false);
await Pi.PiVolumeControl.SetVolumeByDecibels(-1.00f).ConfigureAwait(false);
The code above sets the volume level in two different formats: Percentage or Decibels.
The first method sets the volume on percentage (0% - 100%) and the second sets the volume level on decibels(dB) (-101.32dB - 4.00dB).
Users can consult the current audio settings by using the method GetState.
An example is shown below:
var currentState = await Pi.Audio.GetState().ConfigureAwait(false);
Console.WriteLine(currentState);
The same result can be achieved by setting the volume level to 0% or -9999.99dB.
Release 0.17.0
Fix fatal exception when HardwareException
is thrown.
Release 0.14.0
Check changelog.
Release 0.12.0
Changed travis, dotnet to msbuild