GithubHelp home page GithubHelp logo

Comments (9)

arkq avatar arkq commented on June 4, 2024 1

@infirit and @mill1000 Many thanks for your help! I hope, that there will be no more issues regarding ALSA modules not being found :)

from bluez-alsa.

arkq avatar arkq commented on June 4, 2024

bluealsa acts as another sound card, is this correct?

In some extends yes, but BlueALSA is not a physical sound card. It is a PCM device (but not sound card).

I have to link basically link two sound cards together via arecord of similar?

Yes.

is there any way to modify blueasla itself to use hw:0,0 directly?

It is a way, but I won't do it. Try to use the bluealsa-aplay (from the current master snapshot). It omits ALSA PCM plugins, so there should be no problem with missing library. Building this functionality into the bluealsa itself wouldn't save much CPU cycles (compared with the bluealsa-aplay), but it would definitely make a mess in the code :D.

I get an error message of a missing library: libasound_module_pcm_bluealsa.so.

This library is a PCM plugin for BlueALSA (shipped with bluez-alsa). However, it seems that it was installed in the wrong place. This file, has to be placed in the ALSA modules directory (on standard linux distribution, this file is copied to the /usr/lib/alsa-lib/.

from bluez-alsa.

kiwi-ed avatar kiwi-ed commented on June 4, 2024

from bluez-alsa.

kiwi-ed avatar kiwi-ed commented on June 4, 2024

from bluez-alsa.

mill1000 avatar mill1000 commented on June 4, 2024

A note regarding the missing library libasound_module_pcm_bluealsa.so

It appears the some Debian-based systems (e.g. Raspbian) install alsa-plugins to an architecture specific folder (e.g. /usr/lib/arm-linux/gnueabihf) instead of /usr/lib/.

A symbolic link can solve this issue pretty easily

from bluez-alsa.

arkq avatar arkq commented on June 4, 2024

Yes, symlink would be fine, however I'd like to go for a better detection for ALSA directory. Right now it is kind of a naive approach: https://github.com/Arkq/bluez-alsa/blob/99d9d72a5aed22dd755485a2661e209ded697079/configure.ac#L93

However, I have no idea how to make it better (if it is even possible at the first place). After all, distribution specific configuration should be configured by a packager (person responsible for creating distribution specific package). Anyway, if someone knows how to correct configure.ac file, I'd be very happy to see some PR :)

from bluez-alsa.

infirit avatar infirit commented on June 4, 2024

@mill1000 what is the output of the below command run from a terminal.

pkg-config --variable=libdir alsa

If it points to the the correct libdir it is very easy to fix.

from bluez-alsa.

mill1000 avatar mill1000 commented on June 4, 2024

@arkq
Yes it appears the Debian package overrides the plugindir with the following
--with-plugindir=/usr/lib/$(DEB_HOST_MULTIARCH)/alsa-lib
I was not aware that the plugindir was an available argument to the config script.

@infirit
Yes! Looks like pkg-config has the right path to the alsa-lib

from bluez-alsa.

mill1000 avatar mill1000 commented on June 4, 2024

Aweome. Fresh build worked like a charm on Raspbian Stretch

from bluez-alsa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.