设置音量的程序
#include <stdio.h>
#include <fcntl.h>
#include <string.h>
#include <sys/soundcard.h>
#define ARM
#include <fcntl.h>
#include <string.h>
#include <sys/soundcard.h>
#define ARM
int main(int argc, char *argv[])
{
int volume_read,volume_write,mixerfd;
if(argc != 3){
printf("usage: %s volume_write volume_read\n", argv[0]);
printf("example: %s 30 50\n",argv[0]);
exit(-1);
&
{
int volume_read,volume_write,mixerfd;
if(argc != 3){
printf("usage: %s volume_write volume_read\n", argv[0]);
printf("example: %s 30 50\n",argv[0]);
exit(-1);
&
相关热门文章
给主人留下些什么吧!~~
评论热议