自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(2)
  • 资源 (3)
  • 收藏
  • 关注

原创 Linux环境下用c语言写的播放wav文件的小程序

本程序可以读取.wav文件,然后进行播放。使用前,请确认您是否安装音频驱动。确认方法:cat /etc/sndstat,如果显示无此设备,则没有安装驱动。安装驱动很简单,到oss.com上下载音频驱动,然后按照网上的教程进行就可以了。源代码如下:#include #include #include #include #include #include #include /* 下面的三个参数是跟具体

2008-10-21 20:55:00 6237

翻译 Oracle是如何工作的

    下面的例子描述了Oracle运行的最基本级别的操作。这个例子解释了一种用户进程和相应的服务器进程分别运行在不同的计算机上的Oracle结构(通过网络连接)。        1.运行Oracle的机器(经常被称为主机或者数据库服务器)开启了一个实例。        2.一个正在运行应用程序的计算机(本地计算机或者客户工作站)在用户进程里运行了这个应用程序。客户应用程序试图通过相应的Oracl

2008-10-09 14:44:00 596

Linux下图形界面mp3播放器的实现

摘要:Linux作为自由和开源软件领域中最出色的例子,人们更多地了解其在服务器方面的应用。不过,由于Linux具有可移植度高、自由、免费等特性,最近几年,它在移动设备和个人电脑领域的应用也越来越广泛。鉴于以上应用领域对用户界面友好性方面的要求,几乎所有的此类应用都是采用图形用户界面。基于GTK的GNOME,是Linux领域中最主要的桌面环境。而GTK本身,则是创造图形用户界面的最流行的跨平台GUI工具箱之一。这里将通过一个使用GTK和GStreamer技术的简单mp3播放器的实现,详细描述Linux环境下的图形界面编程技术。 关键词:Linux mp3播放器 GTK GStreamer C语言 The Implementation of GUI Mp3 Player in Linux Student majoring in Network Engineering Wang Shouyi Tutor Han Lijuan Abstract:As one of the most distinguished examples of free and open source software collaboration, Linux is predominantly known for its application in servers. However, Linux editions installed on both mobile devices and personal computers have become increasingly commonplace in recent years, owing largely to its highly portability and high degree of freedom. In view of the importance of user friendly operation, almost all of these editions are based on Graphical User Interface(GUI). Based on GTK, one of the most popular cross-platform widget toolkits for creating graphical user interfaces, Gnome is a dominant desktop environment—the GUI which runs on top of a computer operating system. This paper mainly focused on the implementation of a simple GUI interfaced mp3 player using GTK and GStreamer technology under Gnome environment, will illustrate detailed steps on Linux GUI programming. Key words: Linux;mp3 Player;GTK;GStreamer;C

2010-03-07

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除