Sound Programming.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi all,
            i had sent a similar query before. Now, the problem i have
is something like this :
            i use OSS sound programming guide as a reference.
            i use the API given in <linux/souncard.h>
            i set the number of channels to one (1) Mono. /* ioctl calls
*/
            i set the sampling rate to 11025
            i set the sampling format to Unsigned Little Endian .
            Now i record sound for sometime using read() and play it
back on my system using write() it works fine.
            I write the recorded sound (data) to a file through my
program and i copy the file to another system.
            I try playing it there it gives me a loud noise . The reason
i'am sending this query again is that many people had rightly
           pointed out that i hadn't set the Channels/Format/Sampling
Rate (then) . But now i have done all this but it still
           seems to me that the problem persists. Could anyone help ?

Thank you.
-Amith




--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux