bugGNU Octave - Bugs: bug #44456, mxe-octave: audiodevinfo reports...

 
 

bug #44456: mxe-octave: audiodevinfo reports no audio

Submitter:  John Donoghue <lostbard>
Submitted:  Fri 06 Mar 2015 06:53:56 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Inaccurate Result
Status:  Fixed Assigned to:  lostbard
Originator Name:  JohnD Open/Closed:  * Closed
Release:  * 4.0.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 02 Jun 2015 04:37:25 PM UTC, comment #5: 

Retagging release from 4.0.0-rc1 to 4.0.0.

John W. Eaton <jwe>
Group administrator
Sat 07 Mar 2015 08:29:19 PM UTC, comment #4: 

Thanks for the pointer.
Yes the libsndfile developer seems right.

Somewhere in 2017 the mp3 patents will expire; say around the release of Octave-5.0 ;-)

Philip Nienhuis <philipnienhuis>
Group Member
Sat 07 Mar 2015 02:50:18 PM UTC, comment #3: 

According to libsndfile, which is what we use for reading the files:

quote [1]: "I have decided that I will not be adding support for MPEG Layer 3 (commonly known as MP3) due to the patent issues surrounding this file format. See the FAQ for more."


[1] http://www.mega-nerd.com/libsndfile/

John Donoghue <lostbard>
Group Member
Sat 07 Mar 2015 01:09:55 PM UTC, comment #2: 

At least audiodevinfo seems to work fine:

>> audiodevinfo.input.Name
ans = Microsoft Sound Mapper - Input (MME)
ans = Microphone (Logitech Mic (Fusio (MME)
ans = Realtek Digital Input (Realtek  (MME)
>> audiodevinfo.input.ID
ans = 0
ans =  1
ans =  2
>> audiodevinfo.output.Name
ans = Microsoft Sound Mapper - Output (MME)
ans = Speakers (Realtek High Definiti (MME)
ans = Realtek Digital Output (Realtek (MME)
>> audiodevinfo.output.ID
ans =  3
ans =  4
ans =  5
>>


..so I'm confident the rest will also work.

.mp3 files aren't recognized yet but that may be due to lacking support files:

>> ls 40662.mp3
:
40662.mp3
               1 File(s)      7 490 362 bytes
               0 Dir(s)     320 913 408 bytes free
>> audioinfo ('40662.mp3')
error: audioinfo: failed to open file 40662.mp3


Matlab reads it straightforwardly:

>> audioinfo '40662.mp3'
ans =
             Filename: 'G:\MP3\Classic\40662.mp3'
    CompressionMethod: 'MP3'
          NumChannels: 2
           SampleRate: 44100
         TotalSamples: 20644991
             Duration: 468.1404
                Title: 'Sinfonia in C'
              Comment: []
               Artist: 'Giuseppe Torelli, arr. David Reed'
              BitRate: 128


Anyway, closing report.

Philip Nienhuis <philipnienhuis>
Group Member
Fri 06 Mar 2015 06:56:12 PM UTC, comment #1: 

Pushed to mxe-octave to include portaudio dependencies to octave.mk:

http://hg.octave.org/mxe-octave/rev/09420fc020b4

John Donoghue <lostbard>
Group Member
Fri 06 Mar 2015 06:53:56 PM UTC, original submission:  

I think is just an issue that the installer wasn't compiled with portaudio and libsndfile enabled.


John Donoghue <lostbard>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by lostbard (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-06-02 jwe Release4.0.0-rc1 4.0.0
    2015-03-07 philipnienhuis StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2015-03-06 lostbard Item GroupNone Inaccurate Result
        StatusNone Ready For Test
        Assigned toNone lostbard

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code