[FFe] Gnomeradio has no mechanism to route the audio to soundcard, needs to be ported to ALSA API.

Bug #1154029 reported by Zicu Radu
52
This bug affects 9 people
Affects Status Importance Assigned to Milestone
gnomeradio (Debian)
Fix Released
Unknown
gnomeradio (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

FFe justification:

 Probably one of the most popular questions I see new users ask about gnomeradio is along the lines of the following:

    "It looks like gnomeradio is working (showing me gui), but for some reason I am not hearing any audio. What is wrong with my tuner?"

    Unfortunately, in the vast majority of cases, there is nothing wrong with the tuner. The problem is that gnomeradio was originally designed to be used with older tuner cards that have a dedicated audio output cable, which you are expected to connect to speakers. Most newer tuner products deliver their audio via an ALSA device, for which gnomeradio has no mechanism to route the audio to soundcard.

    As a result, users end to run sox or arecord/aplay in a separate terminal window (which always seemed like a rather ridiculous workaround).

One of this ridiculous workaround example : https://bugs.launchpad.net/ubuntu/+source/gnomeradio/+bug/613809/comments/21

original description:

Gnomeradio seems to use the old OSS interface we have obsoleted in raring.
I can't get Gnomeradio to output audio. I accesed the soundcard config with "alsamixer -c0" and turned the line-in all the way up. But i still can't get audio from my Gnomeradio.
Gnomeradio needs to be ported to ALSA.

The contents of my /proc/asound/pcm is:

00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1
02-00: Bt87x Digital : Bt87x Digital : capture 1
02-01: Bt87x Analog : Bt87x Analog : capture 1

Bt87x Digital/Analog i think are there cause of my TVcard but they never seemed to do anything.
The card shipped with a loop cable to connect the card to the line-in and dind't mention it beeing possible another way.

And i did go to the alsamixer -c0 and turned line-in all the way up and still didn't get any audio.

But if there's a way to use my tvcard directly, would of course bee even better than that halfe baked line-in solution.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnomeradio (Ubuntu):
status: New → Confirmed
Zicu Radu (zradu1100)
description: updated
Revision history for this message
Buda Servantes (budaservantes) wrote :

OSS was deprecated in the kernel a long time ago and gnomeradio is the only reason why I've been using OSS/OSS emulation.

Revision history for this message
Pojar Geo (geoubuntu) wrote :

Lack of audio support for modern tuners – many tuners deliver audio on an ALSA device, and gnomeradio has no ability to stream this audio. As a result, people end up with running sox or arecord/aplay in a separate window, with no lipsync.
I my branch I add support for looping back audio through alsa devices.

Revision history for this message
Pojar Geo (geoubuntu) wrote :

Screenshoot Gnomeradio alsa

Pojar Geo (geoubuntu)
summary: - OSS is obsolete, gnomeradio needs to be ported to ALSA.
+ Gnomeradio has no mechanism to route the audio to soundcard, needs to be
+ ported to ALSA API.
Revision history for this message
Pojar Geo (geoubuntu) wrote : Re: Gnomeradio has no mechanism to route the audio to soundcard, needs to be ported to ALSA API.
Revision history for this message
Pojar Geo (geoubuntu) wrote :

 Probably one of the most popular questions I see new users ask about gnomeradio is along the lines of the following:

    "It looks like gnomeradio is working (showing me gui), but for some reason I am not hearing any audio. What is wrong with my tuner?"

    Unfortunately, in the vast majority of cases, there is nothing wrong with the tuner. The problem is that gnomeradio was originally designed to be used with older tuner cards that have a dedicated audio output cable, which you are expected to connect to speakers. Most newer tuner products deliver their audio via an ALSA device, for which gnomeradio has no mechanism to route the audio to soundcard.

    As a result, users end to run sox or arecord/aplay in a separate terminal window (which always seemed like a rather ridiculous workaround).

One of this ridiculous workaround example : https://bugs.launchpad.net/ubuntu/+source/gnomeradio/+bug/613809/comments/21

Pojar Geo (geoubuntu)
summary: - Gnomeradio has no mechanism to route the audio to soundcard, needs to be
- ported to ALSA API.
+ [FFe] Gnomeradio has no mechanism to route the audio to soundcard, needs
+ to be ported to ALSA API.
description: updated
Pojar Geo (geoubuntu)
Changed in gnomeradio (Ubuntu):
status: Confirmed → New
Changed in gnomeradio (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnomeradio (Ubuntu):
status: New → Confirmed
Changed in gnomeradio (Ubuntu):
status: Confirmed → New
Revision history for this message
Scott Kitterman (kitterman) wrote :

Is this tested yet?

Revision history for this message
Pojar Geo (geoubuntu) wrote :

Yes, work fine with my tvtuner card. I post screenshot to ilustrate this ( run gnomeradio with verbose output to see this) https://launchpadlibrarian.net/135415302/Gnomeradio%20alsa%20loopback.png

Revision history for this message
Triniton Adam (trinitonadam) wrote :

My Leadtek TV Tuner audio works just fine with this proposed build: https://launchpad.net/~geoubuntu/+archive/test/+sourcepub/3050437/+listing-archive-extra,

Revision history for this message
Scott Kitterman (kitterman) wrote :

Ack. Approved.

Changed in gnomeradio (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Zicu Radu (zradu1100) wrote :

I have a USB AverTvHybrid Volar HX, it is detected by Ubuntu and with this patch radio get audio. Thanks.

Revision history for this message
Pojar Geo (geoubuntu) wrote :

This patch does not cause any damage to gnomeradio. Default option is to automatically detect the alsa device associated with radio device. If it does not exist, looping back audio through alsa devices is disabled and gnomeradio work in "classic mode".

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnomeradio - 1.8-2ubuntu8

---------------
gnomeradio (1.8-2ubuntu8) raring; urgency=low

  * debian/patches/gnomeradio-alsa.patch: Added support for looping back audio
    through alsa devices. (LP: #1154029)
  * debian/patches/gnomeradio-alsamixer.patch: Added support to use the ALSA
    mixer APIs. (LP: #613809)
  * debian/patches/gnomeradio-media_profile.patch: Replaced GnomeMediaProfile
    with GstEncodingProfile. (LP: #1154028)
  * debian/patches/gnomeradio-documentation.patch: Use new documentation
    infrastructure. (LP: #1091476)
  * debian/rules: Removed obsolete --disable-scrollkeeper configure flag.
  * debian/control: Build-Depends: added libasound2-dev, yelp-tools, removed
    libgnome-media-profiles-dev, gnome-doc-utils, scrollkeeper.
 -- POJAR GEORGE <email address hidden> Sun, 03 Mar 2013 10:18:52 +0000

Changed in gnomeradio (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Cecyila (cecyliajozef) wrote :

Thanks for this update

Now my Pinnacle TV/FM card work fine with snd-bt87x (alsa bt878 driver module) loaded.

Changed in gnomeradio (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.