[mythtv-users] Bluetooth headset with ALSA
Nick Rout
nick.rout at gmail.com
Sun May 29 21:27:09 UTC 2011
On Mon, May 30, 2011 at 6:25 AM, Wayne Thomas <waynethomas69 at gmail.com> wrote:
>> > I want to configure it with ALSA and then switch the device with some
>> > key on the remote. Does someone make something like this?
>>
>> I do not believe ALSA is capable of this. You have actually found one
>> of the rare circumstances where it does actually make sense to use
>> PulseAudio.
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
> What about creating a script that alters the content of the .asoundrc file
> to change the default audio output to the headset (and vice versa) and then
> force alsa to reload (i.e. sudo alsa force-reload, in this case you would
> need to alter the sudoers file to allow that command to be executed without
> a password). Provided your Mythtv uses "default" as its audio output, and
> it tolerates alsa vanishing and reappearing this might just work if you
> execute the script with irexec.
> Might be worth a try
Similarly might be worth a try writing a script to alter the output
device of mythtv (a fairly simple mysql update of the settings table I
think).
I am not sure if the frontend then needs to be restarted though.
More information about the mythtv-users
mailing list