Re: [LAU] wanted:audio player

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-user@...>
Date: Monday, October 18, 2010 - 12:38 pm

fons:

Perhaps the patch below for mplayer is good enough?

libao2/ao_jack.c :

- for (i = 0; i < num_ports; i++) {
- if (jack_connect(client, jack_port_name(ports[i]), matching_ports[i])) {
- mp_msg(MSGT_AO, MSGL_FATAL, "[JACK] connecting failed\n");
- goto err_out;
- }
- }
+ for (i = 0; i < num_ports; i++) {
+ char portname[1000];
+ sprintf(portname,"%s%d",getenv("MYPORTS"),i);
+ if (jack_connect(client, jack_port_name(ports[i]), portname)) {
+ mp_msg(MSGT_AO, MSGL_FATAL, "[JACK] connecting failed\n");
+ goto err_out;
+ }
+ }

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [LAU] wanted:audio player, Kjetil S. Matheussen, (Mon Oct 18, 12:38 pm)
Re: [LAU] wanted:audio player, , (Mon Oct 18, 5:31 pm)