Skip to content

Commit

Permalink
bugfixed speaker configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Binozo committed Feb 4, 2024
1 parent a7185e5 commit 4ea3721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/speaker/speaker.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const DeviceNr = 23
// GetDevice returns the pre-configured speaker alsa device
func GetDevice() tinyalsa.AlsaDevice {
return tinyalsa.NewDevice(CardNr, DeviceNr, pcm.Config{
Channels: 1,
Channels: 2,
SampleRate: 48000,
PeriodSize: 1024,
PeriodCount: 2,
Expand Down

0 comments on commit 4ea3721

Please sign in to comment.