Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i can't set bluealsa to default #251

Closed
zxc503 opened this issue Sep 21, 2019 · 1 comment
Closed

i can't set bluealsa to default #251

zxc503 opened this issue Sep 21, 2019 · 1 comment

Comments

@zxc503
Copy link

zxc503 commented Sep 21, 2019

my .asoundrc is

pcm.bluealsa { 
  type plug 
  slave.pcm { 
      type bluealsa 
      device "CC:4B:73:3F:9E:49" 
      profile "a2dp" 
    }
}
pcm.!default {
    type plug 
    slave.pcm { 
      type bluealsa 
      device "CC:4B:73:3F:9E:49" 
      profile "a2dp" 
    }
}

i can use command aplay -D bluealsa sound.wav to play sound.wav
but i can't use aplay -D default sound.wav to play sound.wav
It shows that Playing WAVE 'sound.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Stereo ,but it didn't play the sound

@ab1jx
Copy link

ab1jx commented Sep 27, 2020

This doesn't actually set it to the default device, you still have to specify the bluealsa device. I'd like to get it working with Audacity, which has its own device scheme. If there was a way to make bluealsa the default when you want then change it back when you want that would be the most transparent solution.

At https://www.alsa-project.org/main/index.php/Setting_the_default_device is the official procedure for setting the default device but it expects a card number. Hmm, what if my name is actually a number?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants