[g12]

mpd grojimas į bluetooth

Ryšium su tuo, kad išardžiau senas bluetooth ausines ir perdariau jas į BT magnetofoną. Teko sukovoti su visu steku ir serverio pusėje:

/etc/asound.conf (neturėjau tokio, reikėjo sukurti):

pcm.bluetooth {
  type plug
  slave {
    pcm {
      type bluetooth
      device "xx:xx:xx:xx:xx" # BT headseto adresas
      profile "auto"
    }
  }
  hint {
    show on
    description "My bluetooth headset"
  }
}
 
ctl.bluetooth {
  type bluetooth
}

ir tada

/etc/mpd.conf:

audio_output {
	type		"alsa"
	name		"bluetooth"
	device          "bluetooth"
	format		"44100:16:2"	# optional
	mixer_type	"software"
}

Žinoma: /etc/init.d/mpd restart

Leave a Reply

[g12] © ~10 000 b.c.
Powered By Wordpress