Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 10-19-2007, 09:20 AM   #1
Senior Member
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,045
Blog Entries: 1

Rep: Reputation: 83
Question No sound output for my program (IEC958)

I'm creating a sound application with java.

All I want to do (so far) is hear a sine wave of 440 Htz.

I have already coded the part to get the "line", but when I send it the buffer with the PCM data of the wave, I don't hear a single beep. I'm starting to guess the problem is the setup of the volumes for my card.

My program says it's using this mixer: ICH5 [plughw:0,4]: Direct Audio Device: Intel ICH5, Intel ICH - IEC958, Intel ICH5 - IEC958

I have already set the volume in kmix so that 'IEC958 Playbak AC97 SPSA' is at 100%, however it doesn't have the "led" that I can click to activate/deactivate it. What could I be missing?
Old 10-19-2007, 02:07 PM   #2
Senior Member
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,045
Blog Entries: 1

Original Poster
Rep: Reputation: 83
I just changed it a bit so that the output is sent to the standard output so that I could stream it to aplay... and it works.. that means my calculations are correct.... but for some reason can't listen to the data I'm sending through the line. I suspect it's the volume... but how could I make sure?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
CD PLAYER SOUND CARD LINE-IN, then output sound to speaker out of compuer scrollups Linux - Hardware 2 06-07-2006 10:29 PM
C function to execute a program and return the output of the program ryan.n Programming 4 08-14-2004 10:11 PM
While XMMS is outputing sound, sound from other programs doesn't output untill after. brynjarh Linux - Newbie 2 07-09-2004 04:39 PM
the sound gives output when using mic but no output when run a music file medo Debian 0 04-19-2004 07:17 PM
Sound outputing when mic is used, but no output when playing a sound file medo Linux - Hardware 0 04-17-2004 07:33 PM

All times are GMT -5. The time now is 06:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration