Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9198527
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T22:18:20+00:00 2026-06-17T22:18:20+00:00

I would like to ask if there is any possibility to access the cdrom

  • 0

I would like to ask if there is any possibility to access the cdrom device via sound libraries in Java.

What I want to do is to mute CD Analog. I’ve searched using google for a long time, but there is no information about such an operation. I assume that this is trivial or very complex.

This simple code list my mixers:

try
{
    Mixer.Info [] mixerList = AudioSystem.getMixerInfo();
    for (Mixer.Info mixerInfo : mixerList)
    {
        System.out.println();
        System.out.println("MIXER: "+ mixerInfo.getName());
        Mixer mixer = AudioSystem.getMixer(mixerInfo);
        Line.Info[] li = mixer.getSourceLineInfo();
        System.out.println("LINES:");
        for (Line.Info info2 : li)
        {
            System.out.println(info2.toString());
        }

    }
} 
catch (Exception e)
{
    e.printStackTrace();
}

The output is:

MIXER: Primary Sound Driver
LINES:
interface SourceDataLine supporting 8 audio formats, and buffers of at least 32 bytes
interface Clip supporting 8 audio formats, and buffers of at least 32 bytes

MIXER: Speakers (Realtek High Definition Audio)
LINES:
interface SourceDataLine supporting 8 audio formats, and buffers of at least 32 bytes
interface Clip supporting 8 audio formats, and buffers of at least 32 bytes

MIXER: Primary Sound Capture Driver
LINES:

MIXER: Desktop Microphone (Cinema - Mi
LINES:

MIXER: Microphone (Realtek High Defini
LINES:

MIXER: Port Speakers (Realtek High Definiti
LINES:

MIXER: Port Desktop Microphone (Cinema - Mi
LINES:
MICROPHONE source port

MIXER: Port Microphone (Realtek High Defini
LINES:
MICROPHONE source port

But there is no such device like cd analog. When I try obtaining a particular port from the mixer using Port.Info.COMPACT_DISC there is an exception no such device.

Can anybody assist me with this issue?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T22:18:21+00:00Added an answer on June 17, 2026 at 10:18 pm

    Have a look at java-avm library:

    java-avm (Audio Video Media) is a Java API for accessing and
    controlling disc drives, particularly CD-ROM and CD-R(W) drives,
    removable drives, and loopback devices.

    …

    CD-ROM Specific:

    • Control CD-Audio playback with volume adjustment.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to ask if there's any Java package or library that have
I would like to ask if there is any Java API call in liferay
I would like to ask is there any way to achieve this functionality: I
I would like to ask if there is any tools for Google App Engine
I would like to ask you is there any possible ways to calculate the
I would like to ask if there is any plugin available that is able
I would like to ask if there is any way to validate my password
I would like to ask if there is any person who have experience in
I would like to ask you if there is any function in js/jquery that
I'm new in Android and I would like to ask you is there any

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.