08-12-2007
create sound using C program
I could not recall the function in C to generate diff type of sounds.
Can somebody help me out.
10 More Discussions You Might Find Interesting
1. Programming
Aloha,
I'm attempting to use a C program to create directories and then use a system call to have another program write .dat files into that directory. I understand that I could use the "system("mkdir directory_name")" function however, I would like my program to create a new directory each time... (3 Replies)
Discussion started by: aloha_boi
3 Replies
2. Programming
Hi ,
I want to create a new user using c program not with unix adduser command .
is it possible to write a cprogram to create a new user account , it should accept username , grouid , group name and all other privilages .
i can use system calls inside c program to do this .
i will... (5 Replies)
Discussion started by: naren_chella
5 Replies
3. Programming
I have a function in a c program that I want to to share with other programs.
How do I create a lib using the cc compiler ? (9 Replies)
Discussion started by: npires
9 Replies
4. Shell Programming and Scripting
Hi Guru,s/Geek,s
I need help to create RPM names from rpms.
Example :
a2ps-4.14-6.fc10.i386
perl-Email-Find-0.10-2.fc10.noarch
directfb-1.2.7-2.fc10.i386
libid3tag-0.15.1b-7.fc10.i386
apr-util-1.3.7-1.fc10.i386
libquicktime-1.0.3-4.fc10.i386
The Desired Output is :
a2ps... (2 Replies)
Discussion started by: anand.linux1984
2 Replies
5. Shell Programming and Scripting
Hi ,
Please help me getting this done.
Write an automated shell program(s) that can create, monitor the log files and report the issues for matching pattern.
(i) Conditions for creating log files.
Log file is created with date (example 2010_03_27.log). If the log file size is 10 Mb for... (1 Reply)
Discussion started by: itian2010
1 Replies
6. Homework & Coursework Questions
I need help program in C... :create a program that runs two processes linked oven (1 Reply)
Discussion started by: gizmo16
1 Replies
7. Linux
I reformatted my hard drive and installed Mandriva 2011.
It works fine. I can go to the Internet
The problem is no sound.
I want to listen to songs from YouTube. Sound doesn't come.
I see a man is singing on the screen. No sound.
I had no problem with my old Mandriva. Sound and everything... (11 Replies)
Discussion started by: Toxic
11 Replies
8. AIX
I am in process of writing a library which can make any application of my product capable of creating core in the application's log folder with a product friendly core file name programatically. In my library I am registering for certain signals e.g. SIGILL, SIGFPE, SIGBUS, SIGSEGV, SIGSYS, SIGABRT... (1 Reply)
Discussion started by: rajeev_ks
1 Replies
9. Solaris
I am in process of writing a library which can make any application of my product capable of creating core in the application's log folder with a product friendly core file name programatically. In my library I am registering for certain signals e.g. SIGILL, SIGFPE, SIGBUS, SIGSEGV, SIGSYS, SIGABRT... (5 Replies)
Discussion started by: rajeev_ks
5 Replies
10. Shell Programming and Scripting
To understand SUID feature, I set SUID bit for a SHELL script.
Then I executed the program by a different user.
In order to understand how it works, I tried different ways like:
1) I didn't give execute permission for the other user (not an owner) and then he tried to execute it.
2) I... (15 Replies)
Discussion started by: ravisingh
15 Replies
LEARN ABOUT DEBIAN
oggz-diff
oggz-diff(1) General Commands Manual oggz-diff(1)
NAME
oggz-diff -- Hexdump the packets of two Ogg files and output differences
SYNOPSIS
oggz-diff [options] [OGGZDUMP_OPTIONS] [DIFF_OPTIONS] file1.ogg file2.ogg
options: [--verbose ] [-v | --version ] [-h | --help ]
OGGZDUMP_OPTIONS: [-b | --binary ] [-x | --hexadecimal ] [-c content-type | --content-type content-type ] [-s serialno | --serialno
serialno ] [-O | --hide-offset ] [-S | --hide-serialno ] [-G | --hide-granulepos ] [-P | --hide-packetno ]
DIFF_OPTIONS: [-q | --brief ] [-C NUM | --context[=NUM] ] [-u | -U NUM | --unified[=NUM] ] [-e | --ed ] [--normal ] [--rcs ] [-y
| --side-by-side ] [-l | --paginate ]
Description
oggz-diff is a sh script which uses oggz-dump to generate hexadecimal packet dumps of each input file, then outputs the difference between
these dumps using diff.
Options
oggz-diff forwards a subset of options accepted by oggz-dump and diff. See oggz-dump(1) and diff(1) for more detail.
oggz-dump format options
-b, --binary
Generate a binary dump of each packet
-x, --hexadeciaml
Generate a hexadecimal dump of each packet
oggz-dump filtering options
-c content-type, --content-type content-type
Dump only the logical bitstreams for a specific content-type. Run oggz-known-codecs(1) for a full list of codecs known by the
installed version of oggz.
-s serialno, --serialno serialno
Dump only the logical bitstream with specified serialno.
-O, --hide-offset
Hide the byte offset field of the preamble for each packet dumped. This is particularly useful when comparing Ogg bitstreams that
differ only in page structure.
-S, --hide-serialno
Hide the serialno field of the preamble for each packet dumped. This is particularly useful when comparing Ogg bitstreams that
differ only in serialno assignment.
-G, --hide-granulepos
Hide the granulepos field of the preamble for each packet dumped.
-P, --hide-packetno
Hide the packetno field of the preamble for each packet dumped.
diff options
The -w (--ignore-all-space) option to diff is always implied.
-q, --brief
Output only whether files differ.
-C NUM, --context[=NUM]
Output NUM lines of copied context.
-u, -U NUM, --unified[=NUM]
Output NUM (default 3) lines of unified context.
-e, --ed Output an ed script.
--normal Output a normal diff.
--rcs Output an RCS format diff.
-y, --side-by-side
Output in two columns.
-l, --paginate
Pass the output through pr to paginate it.
Miscellaneous options
--verbose Display verbose messages.
-v, --version
Display version information and exit.
-h, --help
Display usage information and exit.
AUTHOR
Conrad Parker
COPYRIGHT
Copyright (C) 2003 CSIRO Australia
SEE ALSO
oggz-dump(1), diff(1), patch(1)
oggz-diff(1)