Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - regice202

Pages: [1]
1
Paul's Projects / Re: 3D Sound System
« on: August 10, 2018, 09:44:09 PM »
So I've been doing some digging and debugging, trying to figure out what's the issue is between java versions and I've got something that seems worth mentioning. It seems using Java 8 when retrieving the SDL (which is where the error occurs in Java 9+), a DirectAudioDevice is used to run getLine(Info). While in contrast in Java 9+ a PortMixer is used to run getLine(Info). Not quite sure why it chooses a different device. I'm really hoping you'll help me here Paul, you've got a lot more knowledge of the structure of this program and what exactly is going on here. Thanks again!

EDIT: I think this is due to the ranking system. It seems this method of finding the correct mixer might be dated. Going to try and enable debug messages (forgot which class you just ended the try catch with a semicolon) and keep digging.

- regice202

2
Paul's Projects / Re: 3D Sound System
« on: August 06, 2018, 03:43:05 PM »
Bump!

3
Paul's Projects / Re: 3D Sound System
« on: July 30, 2018, 02:40:18 PM »
Hey Paul!

This is the output I got from running that snippet you posted on Java 10. Thanks for the help!

Code: [Select]
info: Port Unknown Name, version Unknown Version
mixer com.sun.media.sound.PortMixer@77ec78b9
info: Port Unknown Name, version Unknown Version
mixer com.sun.media.sound.PortMixer@1a3869f4
    info: MICROPHONE source port
info: Primary Sound Driver, version Unknown Version
mixer com.sun.media.sound.DirectAudioDevice@3aeaafa6
    info: interface SourceDataLine supporting 8 audio formats, and buffers of at least 32 bytes
    format: PCM_UNSIGNED unknown sample rate, 8 bit, mono, 1 bytes/frame,
    format: PCM_SIGNED unknown sample rate, 8 bit, mono, 1 bytes/frame,
    format: PCM_SIGNED unknown sample rate, 16 bit, mono, 2 bytes/frame, little-endian
    format: PCM_SIGNED unknown sample rate, 16 bit, mono, 2 bytes/frame, big-endian
    format: PCM_UNSIGNED unknown sample rate, 8 bit, stereo, 2 bytes/frame,
    format: PCM_SIGNED unknown sample rate, 8 bit, stereo, 2 bytes/frame,
    format: PCM_SIGNED unknown sample rate, 16 bit, stereo, 4 bytes/frame, little-endian
    format: PCM_SIGNED unknown sample rate, 16 bit, stereo, 4 bytes/frame, big-endian
    info: interface Clip supporting 8 audio formats, and buffers of at least 32 bytes
info: Speakers (Realtek High Definition Audio), version Unknown Version
mixer com.sun.media.sound.DirectAudioDevice@1b26f7b2
    info: interface SourceDataLine supporting 8 audio formats, and buffers of at least 32 bytes
    format: PCM_UNSIGNED unknown sample rate, 8 bit, mono, 1 bytes/frame,
    format: PCM_SIGNED unknown sample rate, 8 bit, mono, 1 bytes/frame,
    format: PCM_SIGNED unknown sample rate, 16 bit, mono, 2 bytes/frame, little-endian
    format: PCM_SIGNED unknown sample rate, 16 bit, mono, 2 bytes/frame, big-endian
    format: PCM_UNSIGNED unknown sample rate, 8 bit, stereo, 2 bytes/frame,
    format: PCM_SIGNED unknown sample rate, 8 bit, stereo, 2 bytes/frame,
    format: PCM_SIGNED unknown sample rate, 16 bit, stereo, 4 bytes/frame, little-endian
    format: PCM_SIGNED unknown sample rate, 16 bit, stereo, 4 bytes/frame, big-endian
    info: interface Clip supporting 8 audio formats, and buffers of at least 32 bytes
info: Primary Sound Capture Driver, version Unknown Version
mixer com.sun.media.sound.DirectAudioDevice@491cc5c9
info: Microphone (Realtek High Defini, version Unknown Version
mixer com.sun.media.sound.DirectAudioDevice@74ad1f1f

- regice202

4
Paul's Projects / Re: 3D Sound System
« on: July 30, 2018, 05:35:03 AM »
Hey Paul!

Good call, I didn't think about that, but as soon as you said it, it made sense. I'm running java 10 on my system I guess. Is their a way you could update the lib to make it compatible? Or where would I start for a work around? Thanks again!

- regice202

5
Paul's Projects / Re: 3D Sound System
« on: July 28, 2018, 06:57:13 PM »
Hey Paul!

Love the library system you have going, it's very cool. But I'm having and issue at the moment. I can play sound in my IDE, but as soon as I package the jar and try to run it, I get a stacktrace. Please help?




Thanks in advance!

- regice202

Pages: [1]