WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: sound  (Read 2564 times)

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
sound
« on: August 11, 2011, 02:41:56 AM »
Hello

I have a question about my soundcard.

Tinycore linux correctly plays my USB soundcard using OSS. Usually i control
volumes with the sliders in "youtube" or whatever else.

Sometimes an app does not provide a volume slider so i can't adjust the volume.

I have tried intalling mixers like "sgmixer" and "ossmix" but my soundcard is just
listed as USB and greyed out.

Also, is there any way that OSS can deal with several apps all open at the same
time and all talking to the soundcard or opening the sound driver.

If i have Firfox open it grabs sound and so maybe mpg123 sound won't then work
until i close Firefox

Thanks

V.

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: sound
« Reply #1 on: August 11, 2011, 02:52:23 AM »
hello

please ignore the last post. I have solved the issue.

I loaded the "alsa-oss" extension for allowing people to use apps that require ALSA but
doing the requirement using OSS.

I then just looked at the Also mixer in a terminal. It said "this sound device does not have
any controls"
talking about my USB soundcard. I then hit F6 and selected the USB soundcard from the list and a volume control showed up and it allows me to do volume adjustments for my soundcard Globally for the Headphone out and Mic inputs of the soundcard.

V.

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: sound
« Reply #2 on: August 11, 2011, 02:58:53 AM »
hello

having said the previuos posts...i still don't know how to get my soundcard
to be seen by several apps at the same time. So i can indeed play sound
coming from several different apps all at the same time ........ OR at least be
able to have the soundcard switch between apps without apps needing
to be closed before handshaking of the soundcard is handed over to
a single loaded app (eg. mpg123)

V.


Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: sound
« Reply #3 on: August 11, 2011, 12:33:57 PM »
Make sure your apps are configured to use alsa, not oss.

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: sound
« Reply #4 on: August 11, 2011, 07:02:29 PM »
hello

i was thinking it's best to ask here quikly

i have my USB soundcard working in tcl via OSS.

As you can read above, standard OSS gui  mixers show my soundcard as greyed out
and non of the sliders or volumes work at all.) ( so i just use the volume sliders in youtube
and in each individual app)

The above idea works fine but sometimes an app does not provide it's own volume
control (say "mpg123" app).

So i have managed to get a global volume control working for my USB soundcard. I did
this by installing OSS-alsa extention. I then opened the Alsa mixer navigated to my USB
soundcard and a global volume control shows up....(great)

Now, my only problem with TCL and sound is that you can only use ONE application
at one time. Each application grabs and hogs the soundcard so when you want to switch
to another application you must first CLOSE all other applications that are using sound

I realize the answer to this is jack or Pulse audio or Esound.

Pulse audio has special areas for dealing with OSS called  "padsp" utiilty.

You would imagine that Pulse audio was simple to use and configure but
witout a GUI i am finding it tricky. It is installed and i can get Pulseaudio running
but nothing further.

How do i use Pulse audio with OSS so as to allow several APPS to share the OSS sound
card(driver) at the same time. Or at least for it not to be necessary to keep closing all APPS
to leave a single APP for the soundcard.

thanks

Vince.