Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Set default audio card

Featured Replies

Hi, I'm trying use USB Audio card it's works fine in this cammand

 aplay -D hw:2,0 test.wav

hardware Orange pi one

version Armbian 5.11

root@orangepione:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: audiocodec [audiocodec], device 0: SUNXI-CODEC sndcodec-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sndhdmi [sndhdmi], device 0: SUNXI-HDMIAUDIO sndhdmi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Audio [USB Audio], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

use portaudio library and get this error 

root@orangepione:~/portaudio/bin# ./paex_sine
PortAudio Test: output sine wave. SR = 44100, BufSize = 64
Error: No default output device.
An error occured while using the portaudio stream
Error number: 0
Error message: Success

I try find solution create file ~/.asoundrc and edit it but no result

pcm.!default {
    type hw
    card 2
}


ctl.!default {
    type hw
    card 2
}

Thanks for any help

Did you install libasound-dev as noted in official installation instructions here? You can check whether this package is installed with "dpkg -s libasound-dev libasound2-dev"

 

If it wasn't installed at the time of compilation, you have to install it and run compilation process again (including ./configure step).

  • Author

Did you install libasound-dev as noted in official installation instructions here? You can check whether this package is installed with "dpkg -s libasound-dev libasound2-dev"

 

If it wasn't installed at the time of compilation, you have to install it and run compilation process again (including ./configure step).

 

Thanks , I forgot do make clean.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.