Linux Sound programming with OSS API

Á°¤Î¥Ú¡¼¥¸¤Ø¼¡¤Î¥Ú¡¼¥¸¤Ø

¡û ¤Ï¤¸¤á¤Ë

Ãø¼Ô¤Ï²» ( ²»³Ú ) ¤È¸À¤¨¤Ð CD ¤Ê¤É¤Çʹ¤¯¤Ð¤«¤ê¤Ç¡¢²»¤òºî¤Ã¤¿¤ê²Ã¹©¤·¤¿¤ê¤¹¤ë¤³¤È¤ËÂФ¹¤ë¶½Ì£¤Ï¤¢¤Þ¤êÍ­¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£¤½¤ì¤¬¡¢¿ôǯÁ°¤Ëͧ¿Í¤È¥Ð¥ó¥É¤òÁȤó¤Ç¤«¤é¾¯¤·¤Å¤Ä²»¤ò°·¤¦¤³¤È¤Ë¶½Ì£¤¬Í¯¤¤¤ÆÍ褿¤Î¤ò¤­¤Ã¤«¤±¤Ë²»¤ò°·¤¦¥×¥í¥°¥é¥ß¥ó¥°¤Ë¼ê¤ò½Ð¤·»Ï¤á¤Þ¤·¤¿¡£

ËÜʸ½ñ¤Ç¤Ï¡¢Linux® ¤ò¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤È¤¹¤ë Open Sound System ( OSS ) API ¤ò»ÈÍѤ·¤¿¥µ¥¦¥ó¥É¥×¥í¥°¥é¥ß¥ó¥°¤Ë¤Ä¤¤¤Æµ­½Ò¤·¤Æ¤¤¤­¤Þ¤¹¡£Open Sound System ( OSS ) ¤È¤Ï¡¢Unix ·Ï¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ë¤ª¤±¤ë³Æ¼ï¥µ¥¦¥ó¥É¥«¡¼¥ÉÍѤΥǥХ¤¥¹¥É¥é¥¤¥Ð¤òÄ󶡤¹¤ë¾¦ÍÑÀ½ÉʤǤ¹¡£Linux ¤Î¥µ¥¦¥ó¥É¥µ¥Ö¥·¥¹¥Æ¥à¤Ï¥«¡¼¥Í¥ë 2.4.x ¤Þ¤Ç¤Ï OSS ¤ÎÈó¾¦ÍÑÈǤǤ¢¤ë OSS / Free ¤¬¼è¤ê¹þ¤Þ¤ì¤¿·Á¤«¤éȯŸ¤·¤¿¤â¤Î¤Ç¤¹¡£¥«¡¼¥Í¥ë 2.5.x °Ê¹ß¤Ç¤Ï ALSA ( Advanced Linux Sound Architecture ) ¤¬¥«¡¼¥Í¥ë¤Ë¼è¤ê¹þ¤Þ¤ì¤¿ÍͤǤ¹¤¬¡¢ALSA ¤Ï OSS ¸ß´¹¤Î API ¤òÄ󶡤·¤Æ¤¤¤ë¤Î¤ÇËÜʸ½ñ¤Çµ­½Ò¤¹¤ëÆâÍƤò¤½¤Î¤Þ¤Þ»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¼ÂºÝ¤Î½ê¡¢OSS ¤¬Ä󶡤¹¤ë API ¤Ë½¾¤Ã¤Æ¥×¥í¥°¥é¥à¤òµ­½Ò¤¹¤ë¸Â¤ê¡¢¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ï Linux ¤Ç¤¢¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£ËÜʸ½ñ¤Ç¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤ò Linux ¤Ë¸ÂÄꤹ¤ë¤Î¤Ï¡¢Ãø¼Ô¤¬ Linux ¤ò»È¤Ã¤Æ¤¤¤ë¤«¤é¡¢¤¿¤À¤½¤ì¤À¤±¤Ç¤¹¡£

¤Þ¤º¤Ï OSS API ¤Î»È¤¤Êý¤Ë¤Ä¤¤¤Æµ­½Ò¤·¤Æ¤¤¤­¤Þ¤¹¡£¤¢¤ëÄøÅÙ´ðËܤˤĤ¤¤ÆÌÖÍ夷¤¿¸å¤Ë¡¢Ã±½ã¤Ê²»¤ÎÆþ½ÐÎϤÀ¤±¤Ç¤Ï¤Ê¤¤²»¤Î²Ã¹©½èÍý¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ÎºîÀ®¤ò¹Ô¤¤¤¿¤¤¤È»×¤¤¤Þ¤¹¡£¤½¤Î³Ø½¬¤òÄ̤¸¤Æ¡¢¼«Ê¬¤â DSP ( Digital Signal Processing¡¢¥Ç¥¸¥¿¥ë¿®¹æ½èÍý ) ¤Ë¤Ä¤¤¤Æ¾¯¤·¤Å¤Ä³Ø½¬¤·¤Æ¤¤¤­¤¿¤¤¤È»×¤Ã¤Æ¤¤¤Þ¤¹¡£

ËÜʸ½ñ¤Ø¤Î¥ê¥ó¥¯¤Ï¸æ¼«Í³¤Ë¤É¤¦¤¾¡£ËÜ¥µ¥¤¥ÈÆâ¤Îʸ¾Ï¤Ë´Ø¤·¤Æ²¿¤«¤´°Õ¸«¤Ê¤É¤¬¤¢¤ê¤Þ¤·¤¿¤é¡¢¥Ú¡¼¥¸ºÇ²¼Éô¤Ë¤¢¤ë¥¢¥É¥ì¥¹¤Þ¤Ç¡¢¤¢¤ë¤¤¤Ï¤³¤³¤«¤é¤ª´ê¤¤¤·¤Þ¤¹¡£¤Ê¤ª¡¢ËÜʸ½ñ¤Ë¤ª¤¤¤Æ»ÈÍѤ·¤Æ¤¤¤ë¥µ¥ó¥×¥ë¥³¡¼¥É¤ò tar ·Á¼°¤Ç°µ½Ì¤·¤¿¤â¤Î¤òsrc.tar.gz ¤È¤·¤ÆÃÖ¤¤¤Æ¤Þ¤¹¡£Å¸³«¤·¤ÆÆÀ¤é¤ì¤ë³Æ¥½¡¼¥¹¥³¡¼¥É¤Ï EUC ¤Ç½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¡£³Æ¥Õ¥¡¥¤¥ë̾¤Ë¤Ï¤½¤Î¥³¡¼¥É¤ò»ÈÍѤ·¤¿ Lecture ¤ÎÈֹ椬ÉÕÍ¿¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤³¤Î¥½¡¼¥¹¥³¡¼¥É¤Î»ÈÍѤ˴ؤ·¤Æ¤Ï¡¢ÌÈÀÕ»ö¹à¤Îµ­½Ò¤òλ¾µ¤·¤Æ¤¤¤¿¤À¤±¤ì¤Ð¼«Í³¤Ë»È¤Ã¤Æ¤¤¤¿¤À¤¤¤Æ¹½¤¤¤Þ¤»¤ó¡£

¤Þ¤¿¡¢¥½¡¼¥¹¥³¡¼¥É¤ò´Þ¤á¤¿Ê¸½ñÁ´ÂΤΥ¢¡¼¥«¥¤¥Ö( tar ·Á¼° )¤ò oss_doc.tar.gz ¤È¤·¤ÆÃÖ¤¤¤Æ¤Þ¤¹¡£¤³¤Á¤é¤â EUC ¤Ç½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¡£

¡û Á°Äé´Ä¶­

Á°½Ò¤·¤¿Íͤˡ¢¼«Ê¬¤¬ Linux ¥æ¡¼¥¶¤Ê¤Î¤Ç Linux ¾å¤Ç gcc ¤ò»È¤Ã¤¿¥×¥í¥°¥é¥ß¥ó¥°¤òÁ°Äó¤È¤·¤Æµ­½Ò¤·¤Æ¤¤¤Þ¤¹¤¬¡¢OSS API ¤ò»È¤¨¤ì¤ÐÎɤ¤¤Î¤ÇÆä˥ץé¥Ã¥È¥Õ¥©¡¼¥à¤ä¥³¥ó¥Ñ¥¤¥é¤Ê¤É¤ÎÀ©¸Â¤ÏÍ­¤ê¤Þ¤»¤ó¡£¤½¤Î¾ì¹ç¤Ï¡¢Ê¸½ñÃæ¤Îµ­½Ò¤òŬµ¹³Æ¡¹¤Î´Ä¶­¤Ë¤¢¤ï¤»¤ÆÆɤßÂؤ¨¤Æ²¼¤µ¤¤¡£

¡û ÌÈÀÕ»ö¹à

ËÜ¥µ¥¤¥È¤Ç¸ø³«¤·¤Æ¤¤¤ëÆâÍƤˤĤ¤¤Æ¤Ï²Äǽ¤Ê¸Â¤êÀµ³Î¤ò´ü¤¹¤ëÍͤ˿´³Ý¤±¤Æ¤¤¤Þ¤¹¤¬¡¢Ãø¼Ô¤ÎÃμ±ÉÔ­¤«¤éµ»½ÑŪ¤Ê¸í¤ê¤â¤·¤¯¤ÏÉÔŬÀÚ¤Êɽ¸½¤ä¸í¿¢¤ò´Þ¤à²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤é¤ÎÆâÍƤò»ÈÍѤ¹¤ë¤³¤È¤Ë¤è¤Ã¤ÆÀ¸¤¸¤ë²ÄǽÀ­¤Î¤¢¤ë¤¤¤«¤Ê¤ëÈï³²/»³²¤ËÂФ·¤Æ¡¢Ãø¼Ô¤Ï°ìÀÚ¤ÎÀÕǤ¤òÉ館¤Þ¤»¤ó¡£¤è¤Ã¤Æ¡¢¤´ÍøÍѤˤʤé¤ì¤ëºÝ¤Ï¤ß¤Ê¤µ¤ó³Æ¼«¤ÎÀÕǤ¤ÇÆâÍƳÎǧ/Æ°ºî³Îǧ¤ò¹Ô¤Ã¤Æ²¼¤µ¤¤¡£

¡û ¾¦É¸

  • Linux ¤Ï Linus Torvalds »á¤ÎÆüËܵڤӤ½¤Î¾¤Î¹ñ¤Ë¤ª¤±¤ëÅÐÏ¿¾¦É¸¤Þ¤¿¤Ï¾¦É¸¤Ç¤¹¡£
  • UNIX ¤Ï The Open Group ¤ÎÊƹñµÚ¤Ó¤½¤Î¾¤Î¹ñ¤Ë¤ª¤±¤ëÅÐÏ¿¾¦É¸¤Ç¤¹¡£
  • ¤½¤Î¾¡¢ËÜ¥µ¥¤¥È¤Îʸ½ñÃæ¤Ëµ­ºÜ¤µ¤ì¤Æ¤¤¤ë²ñ¼Ò̾¤äÀ½ÉÊ̾¤Ï¡¢°ìÈ̤˳ƼҤξ¦É¸¤Þ¤¿¤ÏÅÐÏ¿¾¦É¸¤Ç¤¹¡£
  • ¤Ê¤ª¡¢ËÜ¥µ¥¤¥È¤Îʸ½ñÃæ¤Ç¤Ï TM ¤ª¤è¤Ó R ¥Þ¡¼¥¯¤òÌÀµ­¤·¤Æ¤¤¤Þ¤»¤ó¤¬¡¢¸¢Íø¤ò¿¯³²¤¹¤ë°Õ»×¤äÌÜŪÅù¤Ï°ìÀÚ¤¢¤ê¤Þ¤»¤ó¡£

¡û »²¹Í¾ðÊó(ʸ¸¥¡¢¥ê¥ó¥¯)

  • OSS Programmer's guide v1.11

    OPEN SOUND SYSTEM ( OSS ) ¤¬È¯¹Ô¤·¤Æ¤¤¤ë¡¢¥×¥í¥°¥é¥Þ / ³«È¯¼ÔÍѤΠAPI ²òÀâ½ñ¤Ç¤¹¡£ OSS ¥É¥é¥¤¥Ð¤ÎÆâÉôÆ°ºî¤Ë¤Ä¤¤¤Æ¤âºÙ¤«¤¯µ­½Ò¤µ¤ì¤Æ¤¤¤Þ¤¹¡£É¬¤º¤·¤â¸½ºß¤Î Linux® ¤Î¥µ¥¦¥ó¥É¥µ¥Ö¥·¥¹¥Æ¥à¤Î¥É¥é¥¤¥ÐÁ´¤Æ¤Ë¤ÏÅö¤Æ¤Ï¤Þ¤é¤Ê¤¤¤È»×¤¤¤Þ¤¹¤¬¡¢OSS API ¤Î´ðËܤǤ¢¤ë¤³¤È¤Ï¸À¤¦¤Þ¤Ç¤â¤Ê¤¤¤Ç¤·¤ç¤¦¡£

  • LINUX ¥Þ¥ë¥Á¥á¥Ç¥£¥¢¥¬¥¤¥É, ¥ª¥é¥¤¥ê¡¼¥¸¥ã¥Ñ¥ó, 1997, ISBN4-900900-31-1

    Linux ¤Ç¤Î¥Þ¥ë¥Á¥á¥Ç¥£¥¢´Ä¶­¤Ë¤Ä¤¤¤Æ¡¢¥×¥í¥°¥é¥Þ´ó¤ê¤Î¾ðÊ󤬵­½Ò¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ¥æ¡¼¥¶¤Î»ëÅÀ¤ÇÆɤà¤È¤«¤Ê¤ê¸Å¤¤ÆâÍƤǤ¹¤¬¡¢¥×¥í¥°¥é¥Þ¤Î»ëÅÀ¤Ç¤Ï·ë¹½Í­ÍѤÀ¤È»×¤¤¤Þ¤¹¡£

  • CREATIVE OPEN SOURCE

    Sound Blaster Live! ¤Ê¤É¤Ë»ÈÍѤµ¤ì¤Æ¤¤¤ë EMU10K1 ¥Á¥Ã¥×¤Î Linux ÍÑ¥ª¡¼¥×¥ó¥½¡¼¥¹¥É¥é¥¤¥Ð¥×¥í¥¸¥§¥¯¥È¤Ø¤Î¥ê¥ó¥¯¤Ê¤É¤¬¤¢¤ê¤Þ¤¹¡£

Á°¤Î¥Ú¡¼¥¸¤Ø¼¡¤Î¥Ú¡¼¥¸¤Ø