[kde-freebsd] [Bug 208570] multimedia/qt5-multimedia: ALSA aliases not supported

2016-06-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208570

Stephen Hurd  changed:

   What|Removed |Added

 Attachment #169043|0   |1
is obsolete||

--- Comment #13 from Stephen Hurd  ---
Created attachment 171561
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=171561&action=edit
Patch as submitted upstream

Adding the currently submitted upstream patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [Bug 208570] multimedia/qt5-multimedia: ALSA aliases not supported

2016-06-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208570

--- Comment #12 from Stephen Hurd  ---
Using the test application and the current upstream patch, I get this:

AUDIO "default"
AUDIO "envy24"
AUDIO "mb_rear"
AUDIO "mb_front"
AUDIO "ts940"

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [Bug 208570] multimedia/qt5-multimedia: ALSA aliases not supported

2016-06-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208570

--- Comment #11 from Stephen Hurd  ---
(In reply to groot from comment #9)

> Is there some configuration that I would need to do to find these devices
> either with aplay or with the patched Qt5Multimedia?

You can create aliases in your ~/.asoundrc... here's mine:

pcm.envy24 {
type oss
device /dev/dsp0
}
pcm.mb_rear {
type oss
device /dev/dsp4
}
pcm.mb_front {
type oss
device /dev/dsp5
}
pcm.ts940 {
type oss
device /dev/dsp6
}
ctl.envy24 {
type oss
device /dev/mixer0
}
ctl.mb_rear {
type oss
device /dev/mixer4
}
ctl.mb_front {
type oss
device /dev/mixer5
}
ctl.ts940 {
type oss
device /dev/mixer6
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [Bug 208570] multimedia/qt5-multimedia: ALSA aliases not supported

2016-06-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208570

--- Comment #10 from Jan Beich  ---
(In reply to groot from comment #9)
> My /dev/sndstat is this:
> pcm0:  (play/rec) default
> pcm1:  (play/rec)
> pcm2:  (play)
> pcm3:  (play)
>
> Is there some configuration that I would need to do to find these devices
> either with aplay or with the patched Qt5Multimedia?

Only natively[1], better fall back to "default" PCM. 4Front OSS on Linux (e.g.
oss4-dkms on Debian) likely has similar issue.

  $ aplay -l
  aplay: device_list:273: no soundcards found...

In-kernel ALSA (i.e. hw:X,Y) exists only on Linux, other systems are limited to
userland. OSS from alsa-plugins lacks support for MIDI sequencer,
selecting/enumerating devices and probably more. Unlike OpenBSD (sndio) we
don't have anyone actively working on adding OSSv4 support in ports/ tree.

[1] http://manuals.opensound.com/developer/SNDCTL_CARDINFO.html (see example)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [Bug 208570] multimedia/qt5-multimedia: ALSA aliases not supported

2016-06-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208570

--- Comment #9 from gr...@kde.org ---
What is the problem that is being solved here, and what role does ALSA (aplay)
have here? For instance, I have a 10-STABLE machine here, with Qt 5.5.1
installed, and alsa-utils-1.1.1.

This is the output of aplay -L:

null
Discard all samples (playback) or generate zero samples (capture)
oss
Open Sound System

This is the output of my test application:

AUDIO "oss"
AUDIO "default"

With the patch applied, this is the output:

AUDIO "oss"
AUDIO "oss"
AUDIO "default"

Yes, that's an extra line of "oss". This does not seem to be an improvement.

My /dev/sndstat is this:
pcm0:  (play/rec) default
pcm1:  (play/rec)
pcm2:  (play)
pcm3:  (play)

Is there some configuration that I would need to do to find these devices
either with aplay or with the patched Qt5Multimedia?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [Bug 208570] multimedia/qt5-multimedia: ALSA aliases not supported

2016-06-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208570

gr...@kde.org changed:

   What|Removed |Added

 CC||gr...@kde.org

--- Comment #8 from gr...@kde.org ---
Created attachment 171369
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=171369&action=edit
Test application

Here is a test-application showing what QAudioDeviceInfo::availableDevices()
shows. It just prints out the names of the devices that are found.

Compile it with:

c++ -o audiolist -fPIC -std=c++11  -I /usr/local/include/qt5  -L
/usr/local/lib/ -lQt5Multimedia  -lQt5Core  audiolist.cpp  

(once qt5-multimedia is installed)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [Bug 208570] multimedia/qt5-multimedia: ALSA aliases not supported

2016-04-30 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208570

Jan Beich  changed:

   What|Removed |Added

 CC||jbe...@freebsd.org

--- Comment #7 from Jan Beich  ---
ports r414376 may help enumerating pcm devices. "default" is still recommended
due to implicit sample format conversion.

$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
oss
Open Sound System

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [Bug 208570] multimedia/qt5-multimedia: ALSA aliases not supported

2016-04-21 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208570

--- Comment #6 from Stephen Hurd  ---
Upstream patch greatly simplified...

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [Bug 208570] multimedia/qt5-multimedia: ALSA aliases not supported

2016-04-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208570

--- Comment #5 from Stephen Hurd  ---
Submitted to upstream Gerrit...

https://codereview.qt-project.org/155883

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [Bug 208570] multimedia/qt5-multimedia: ALSA aliases not supported

2016-04-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208570

--- Comment #4 from Raphael Kubo da Costa  ---
OK. In any case, I think the best course of action is to submit it upstream via
Gerrit (see https://wiki.qt.io/Qt_Contribution_Guidelines and
https://wiki.qt.io/Gerrit_Introduction) so that the Qt folks can take a look at
this and also make check if it works fine on Linux.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [Bug 208570] multimedia/qt5-multimedia: ALSA aliases not supported

2016-04-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208570

--- Comment #3 from Stephen Hurd  ---
(In reply to Raphael Kubo da Costa from comment #2)

It should, but I'm not in a position to test it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [Bug 208570] multimedia/qt5-multimedia: ALSA aliases not supported

2016-04-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208570

Raphael Kubo da Costa  changed:

   What|Removed |Added

  Flags|maintainer-feedback?(kde@Fr |maintainer-feedback+
   |eeBSD.org)  |
 Status|New |Open

--- Comment #2 from Raphael Kubo da Costa  ---
Does that code also work on Linux? It looks like something that should be
reviewed upstream before we start shipping on FreeBSD.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [Bug 208570] multimedia/qt5-multimedia: ALSA aliases not supported

2016-04-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208570

Stephen Hurd  changed:

   What|Removed |Added

 Attachment #169029|0   |1
is obsolete||

--- Comment #1 from Stephen Hurd  ---
Created attachment 169043
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=169043&action=edit
Patch adding ALSA alises to the available devices.

Update with unified diff.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [Bug 208570] multimedia/qt5-multimedia: ALSA aliases not supported

2016-04-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208570

Bug ID: 208570
   Summary: multimedia/qt5-multimedia: ALSA aliases not supported
   Product: Ports & Packages
   Version: Latest
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: Individual Port(s)
  Assignee: k...@freebsd.org
  Reporter: sh...@freebsd.org
 Flags: maintainer-feedback?(k...@freebsd.org)
  Assignee: k...@freebsd.org

Created attachment 169029
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=169029&action=edit
Patch adding ALSA alises to the available devices.

When using ALSA with FreeBSD, the direct snd_device instances are not
available, only plugin devices and "default".  For programs which use QAudio,
this means there are *no* devices enumerated using QAudio::availableDevices().

The attached patch adds the aliases to the available device list.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information